Here you are Beau,
#!/usr/bin/perl -w
# list all of the perl modules installed
use strict;
use File::Find ;
for (@INC) { find(\&modules,$_) ; }
sub modules
{
if (-d && /^[a-z]/) { $File::Find::prune = 1 ; return }
return unless /\.pm$/ ;
my $fullPath = "$File::Find::d
Can't write to /dev/null: $!";
open STDERR, ">$errorlog" or die "Can't write to /dev/null: $!";
defined(my $pid = fork) or die "Can't fork: $!";
exit if $pid;
setsidor die "Can't start a new session: $!";
}
--
Paul.
Stat is a Operator and not function and the operand to stat is a
filehandle, or an expression that evalutes to a filename. As the old rule
says "If you use the parentheses, the simple (but occasionally surprising)
rule is this: It LOOKS like a function, therefore it IS a function, and
pre
Or.
[EMAIL PROTECTED]("filename") ;
my$FIRSTTIME = "$FILETIME[8,9,10]";
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 6:27 AM
To: [EMAIL PROTECTED]
Subject: Stat() - Getting one element
What's an easy way to grab just one element out of a func
-Original Message-
From: SPENCERS [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 12:37 PM
To: Harry Putnam
Subject: RE: find uniq paths in @INC
Hello, Harry.
Is this what you are looking for?
#!/usr/bin/perl -w
# list all of the perl modules installed
use strict;
use
11:50 PM
To: [EMAIL PROTECTED]
Subject: Re: CHDIR
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (The Spencers) wrote:
> I know the command CD is a shell built-in and this may or may not be
> where
> my problem is. I have tried using the Function CHDIR and by using it I
Hello Team,
Let me just start my saying I am a very big fan of PERL and this
mailing
list. I have been reading from the list for about 5 months now and WOW!
what great help you people are
I would like to know is there anyway to physically move to a directory
running a Perl script