Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: obscurifer
  • Content: Threads
  • Order by date
  1. obscurifer

    Cygwin vs. ActiveState Perl and Newlines

    I'm looking for a simple (or simple-minded) way to convert a text file from DOS-ish CR/LF end-of-line pairs to Unix-ish LF end-of-line characters. It should be pretty straightforward, since Perl contains a robust pattern matching facility. So here's my code. #! /usr/bin/perl while($line =...
  2. obscurifer

    HTML for opening in new tab

    Is there any extension to HTML that Mozilla uses to open pages in a new tab? This would be analagous to the <A HREF='whatever' target='_new'> construction that's commonly used to open pages in a new window. Oddly, though, a quick read of the HTML 4.01 spec didn't show me _new. Thanks!
  3. obscurifer

    Handling Win32 shutdown

    I want to write a program in Perl that sits and waits for Windows to shut down, then does something. I know that I have to use the Win32::Event module, and I have some code that I've written here. ======== use Win32::Event; $manual = 0; $initial = 0; $name = &quot;WM_QUERYENDSESSION&quot...
  4. obscurifer

    Handling Win32 Logoff or Shutdown event

    I want to write a Perl program that sits on a Windows NT machine and performs some quick actions when the user logs out or shuts down. Can anyone point me to the right module/tutorial/document/whatever to get me started? Basically, the program is written, so I don't need to learn basic Perl...
  5. obscurifer

    Backticks cause Win98 to crash?

    I needed to run the Windows 98 EXTRACT utility over all of the Windows 98 distribution cabfiles so I could find a particular file inside the cabs. I wrote a script that captured the filename of all of the cabs on the Windows 98SE CD and used the backtick operator to launch EXTRACT on each...
  6. obscurifer

    Mozilla locking on Linux

    Has anyone had problems with the Linux version of Netscape's browsers locking pretty frequently? I ususally get 10 or so minutes of good run time before I have to kill -9. I'm using Red Hat 6.1, but it doesn't seem to matter which Netscape browser I use.
  7. obscurifer

    Embedding data in a Java program

    In Perl, one can embed data in the actual program by including an __END__ directive. Anything else in the Perl source file, including binary data, is treated as file input that can be seen by using the DATA file handle. I want to write a Java applet that plays a midi file on the web, but I...

Part and Inventory Search

Back
Top