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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Hasenmyer

  1. Hasenmyer

    Where can I find good tutorials?

    Agreed. If it's not O'Reilly, it's not worth buying. ;) (In my humble opinion). I would recommend their Perl Cookbook as well, as it starts the programmer in the "PERL way of thinking", and gives example problems w/ several possible solutions, and a helpful discussion! FABULOUS!
  2. Hasenmyer

    Using File::Find to search subdirectories

    In O'Reilly's &quot;Perl COokbook&quot;, there are several examples using the File::Find module. You can download the examplesin their books on their website (<A HREF="http://www.oreilly.com" TARGET="_new">www.oreilly.com</A>). If you find that book, it's in examples 9-3 and 9-4
  3. Hasenmyer

    how to split the content of a directory

    Try:<br><br>opendir DIR,&quot;.&quot;;<br>@filelist=grep { /^./ } readdir DIR;<br>closedir DIR;<br><br>then @filelist contains every element in the dir that DOESN'T start with &quot;.&quot; (assuming that's what you want to get rid of)
  4. Hasenmyer

    How do I search a line of text for known string

    $_ is the variable that stores the current working variable, if that maeks sense... in a for loop, you could say:<br><br><FONT FACE=monospace><br>foreach (@array) {<br>&nbsp;&nbsp;print $_;<br>}<br></font><br>... and it would print every element in the array
  5. Hasenmyer

    How to call another CGI in PERL

    If the first script does everything you want it to (displays the message and then handles whatever functionality you want), you could just print a redirect statement after the final function exectues, to send the browser to a new page or CGI... since the page is already loaded, you could print...
  6. Hasenmyer

    Handling Multipart MIME types in an e-mail message

    Thanks for the help. I've tried the decoder without much luck, though. It creates a zero length file in the main dir (beacuse I don't specify a path to the object), and doesn't do much else. Maybe I just haven't looked at it closely enough yet. I was pretty frustrated with it yesterday.<br> <br>...
  7. Hasenmyer

    Error: Illegal character \015 (carriage return) at read.cgi line 2.

    That's basically handled in an editor. I use UltraEdit, but Programmer's File Editor and several other text editors will allow you to open as a certain type file, or to convert one to another automagically. Thats' the best way to handle it. Good luck!
  8. Hasenmyer

    Handling Multipart MIME types in an e-mail message

    I'm trying to retrieve messages from a POP3 server using the POP3Client module, and display it via the web (web mail, basically). However, when I get a multi-part message (when Outlook Express for instance sends an html message), I can't get it to only display the html chucnk without *major*...

Part and Inventory Search

Back
Top