Mr. Shawn H. Corey wrote:
See:
* perldoc -f unlink
* perldoc -f glob
* perldoc perlfunc and search for -f under "Alphabetical Listing
of Perl Functions"
one more question on this.. suppose there is 3 files in temp directory
/tmp/yahoo1
/tmp/yahoo2
/tmp/yahoo3
and I wanted to take the last file that was created.. would this work?
my $filename = shift;
my @file_1 = </tmp/$filename*>;
my $file_1 = $file_1[-1];
push @files, $file_1;
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/