in reply to Suggestion for teaching Perl
Well... Let's try to answer (as I am a newbie :)
I found your question very easy. I am sure I am wrong so I take my camel book to see reverse's section and I seek something which I would not have seen before.
I am not sure that reverse ($aloha) is assumed as a LIST or a string. But my answer is "hello" ! ... and reverse ("$aloha") will return "olleh".
BoBiOne KenoBi ;)
I found your question very easy. I am sure I am wrong so I take my camel book to see reverse's section and I seek something which I would not have seen before.
I am not sure that reverse ($aloha) is assumed as a LIST or a string. But my answer is "hello" ! ... and reverse ("$aloha") will return "olleh".
BoBiOne KenoBi ;)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Suggestion for teaching Perl
by nysus (Parson) on Apr 14, 2001 at 18:21 UTC |
In Section
Perl Monks Discussion