in reply to Re: Determine if item is last one
in thread Determine if item is last one
Well, after
you can get the last element with my $last = $files[-1];Hardly a good golfer, just an avid reader of perldata ;-)opendir( DIR, './' ); my @files = readdir( DIR ); closedir( DIR );
|
|---|