my $max; while( my $file = readdir(DIR) ) { $max = $file if $file gt $max; } print $max;
thor
Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come
In reply to Re: find the last lexical entry in a dir without using @ls=readdir
by thor
in thread find the last lexical entry in a dir without using @ls=readdir
by manywele
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |