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 );
In reply to Re: Re: Determine if item is last one
by VSarkiss
in thread Determine if item is last one
by dgoins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |