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 ;)
In Section
Perl Monks Discussion