I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-11-02 10:40:00-08 by berislav
Printing shuffled string
Hello Jerry, First of all, my apologies for bothering you with this newbie question regarding MRMA module. How exactly can I get the shuffled string to print nicely on screen? I have written the following code:
print "Enter string: "; $string=<STDIN>; chomp $string; $string_shuffled=shuffle($string); print "\nOriginal: ", $string; print "\n\nShuffled: ", $string_shuffled, "\n"; exit;
And the output I get isn't reshuffled string, but something like ARRAY(0x88982fc) Thanks very much in advance! Berislav
Direct Responses: 3413 | Write a response