Search Results

Search: Posts Made By: alexf
9,286
Posted By alexf
ok , here's the final solution #open the...
ok , here's the final solution

#open the directory
unless (opendir DH, $mydir) {print "Can't open directory $mydir: $!\n";
return undef;}

#sort them by creation date, oldest file first
my...
9,286
Posted By alexf
here's what I end up with: my @temp_array; my...
here's what I end up with:
my @temp_array;
my @s;
my @sortedlist = map {
@temp_array = split /\t/;
@temp_array = $temp_array[1];}
...
9,286
Posted By alexf
ok this works fine from a Unix shell. But when I...
ok this works fine from a Unix shell. But when I integrate this into my script, I get this compilation error: "Use of implicit split to @_ is deprecated at perl_test2.pm line 19.". My Perl book also...
9,286
Posted By alexf
what would this look like in PERL though ?
what would this look like in PERL though ?
9,286
Posted By alexf
How to sort a set of files by date in a directory?
hi there,
I have a directory which contents I can parse dynamically. I end up with a file list. I then want to display those files sorted by date, oldest files first. I have very very little PERL...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy