should be a simple traverse and print

2002-11-21 Thread Tim Booher
Hello – I am looking for ideas to traverse a directory structure and print all jpg files in the directory along with their parent directory. For example if I have   Folder1 with 1.jpg 2.jpg 3.jpg Folder2 with A.jpg B.jpg C.htm   By running test.pl in Folder1 and Folder2’s parent direct

create a directory

2002-11-21 Thread Tim Booher
I don’t know why I am having such a tough time creating a directory.   I have the following code, but for some reason I can’t create a directory:   #!/usr/bin/perl -w # Microsoft Windows Win32   use strict; use File::Find;   my $i; my $cs; my @myArray;  # array to hold match

Read, Write and Append -- is there more?

2002-09-03 Thread Tim Booher
Hello, I am currently frustrated trying to do a simple find and replace on a file, but the three open options: Read, Write and Append don't seem to give me what I want. For example, Read, works on the finding, but nothing will replace. Write erases all the files and leaves me with blank files and

use perl to trim out non text characters from a file

2002-09-26 Thread Tim Booher
Hello – this should be really simple to the learned perl programmer, but I am trying to create a simple script to trim all the ‘junk’ out of my email files. I get a lot of suspicious emails in outlook and normally drag them to the desktop and open with notepad. This works, but most of the message

RE: use perl to trim out non text characters from a file

2002-09-26 Thread Tim Booher
Timothy Johnson [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 8:36 AM To: 'Tim Booher'; [EMAIL PROTECTED] Subject: RE: use perl to trim out non text characters from a file Someone out there may have a better answer, but this one seems tougher than average becaus

Extract alphanumeric characters not working . . .

2002-09-26 Thread Tim Booher
*   1 _ _ s u b s t g 1 . 0 _ 0 0 4 2 0 0 1 E *   ÿÿÿÿ   +¤¾£n ÝT Tim Booher SMTP [EMAIL PROTECTED] Tim Booher

RE: Extract alphanumeric characters not working . . .

2002-09-26 Thread Tim Booher
me that I am not dealing with a text file, even though I can open it in notepad. Any thoughts? tim -Original Message- From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:33 AM To: Tim Booher Cc: [EMAIL PROTECTED] Subject: Re: Extract al