RE: File::Find implementation

2005-11-01 Thread Timothy Johnson
Here is a fairly simple one I used recently. In my case I used finddepth (searches from the bottom up instead of top down) because I was renaming folders and File::Find couldn't chdir to the folder after I had changed the name. find() works the same way. In the example below, finddepth runs my

File::Find implementation

2005-11-01 Thread andrewmchorney
Hello: I got some advice on how to obtain a listing of all the files on a hard drive. The advice was to use File::find. I looked at the perl document and I am a little confused and so a simple example would be nice. I would like to get the file name, directory path, size and date of last modifi

Re: regex issues

2005-11-01 Thread Jeff 'japhy' Pinyan
On Nov 1, Michael Gargiullo said: I'm in the process of writing a rather complex parser script to parse nessus output, can be anything from: results|192.168.1|192.168.1.131|https (443/tcp)|10330|Security Note|A web server is running on this port through SSL\n to results|192.168.1|192.168.1.13

Re: Mail::Mailer

2005-11-01 Thread Jay Savage
Please don't top post, and please send replies to the list. On 11/1/05, Matthew Sacks <[EMAIL PROTECTED]> wrote: > > Any ideas about why -wT is producing > "too late for -T option" > > -m > > > --- Jay Savage <[EMAIL PROTECTED]> wrote: > > > On 10/31/05, Matthew Sacks > > <[EMAIL PROTECTED]> wrote

regex issues

2005-11-01 Thread Michael Gargiullo
Hi all, I'm in the process of writing a rather complex parser script to parse nessus output, can be anything from: results|192.168.1|192.168.1.131|https (443/tcp)|10330|Security Note|A web server is running on this port through SSL\n to results|192.168.1|192.168.1.131|https (443/tcp)|10863|Secu

Re: How to change the Owner of a file

2005-11-01 Thread Jay Savage
On 01 Nov 2005 09:01:02 -0800, Randal L. Schwartz wrote: > > "Jay" == Jay Savage <[EMAIL PROTECTED]> writes: > > Jay> The "new version" prevents anyone but the superuser from changing a > Jay> file's ownership. Actually the change was to the chown and lchown > Jay> system calls in various kern

Re: How to change the Owner of a file

2005-11-01 Thread Randal L. Schwartz
> "Jay" == Jay Savage <[EMAIL PROTECTED]> writes: Jay> The "new version" prevents anyone but the superuser from changing a Jay> file's ownership. Actually the change was to the chown and lchown Jay> system calls in various kernels (I think Linux was the first, maybe Jay> Solaris?) not to chown

Re: Mail::Mailer

2005-11-01 Thread Jay Savage
On 10/31/05, Matthew Sacks <[EMAIL PROTECTED]> wrote: > Trying to use Mail::Mailer, in the sample code below. > > i) if I put -T on the first line invoking Perl, I get > an error like "too late for -T option" > ? > > ii) The program runs but the mail never arrives. The > eval block checks alway

Re: perl compilers

2005-11-01 Thread Octavian Rasnita
As far as I know perlcc is the only perl compiler, but it is still in a kind of alpha stage, not developed, and it doesn't work really. There are other programs that don't compile the perl code, but create a binary executable file which includes the program, the perl interpreter, and all the other

Re: perl compilers

2005-11-01 Thread Chris Devers
On Tue, 1 Nov 2005, Brent Clark wrote: > Just a thought, is it possible to compile perl code in to some type of > binary format file, and then perl can execute the bin file. > > Just somthing I was thinking. http://www.google.com/search?q=perl+compiler But then, I'm sure you spent the three se

perl compilers

2005-11-01 Thread Brent Clark
Hi all Just a thought, is it possible to compile perl code in to some type of binary format file, and then perl can execute the bin file. Just somthing I was thinking. Kind Regards Brent Clark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]