in reply to Re: What's the difference between stat and sort?
in thread What's the difference between stat and sort?
works. While the (what I tested)my $lf = (sort(<*>))[-1]; print $lf,"\n";
throws aprint (sort(<*>))[-1], "\n";
print (...) interpreted as function at ./template.pl line 6. syntax error at ./template.pl line 6, near ")[" Execution of ./template.pl aborted due to compilation errors.
Bye
PetaMem All Perl: MT, NLP, NLU
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What's the difference between stat and sort?
by Chady (Priest) on Jul 15, 2004 at 10:12 UTC | |
|
Re^3: What's the difference between stat and sort?
by beable (Friar) on Jul 15, 2004 at 10:17 UTC |