Why can't I do this?

print chomp reverse(@lines = <STDIN>);

or

print chomp(reverse(@lines = <STDIN>));

I get

Can't modify reverse in chomp at ex3-1.pl line 3, near "))"
Execution of ex3-1.pl aborted due to compilation errors.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to