Problems? Is your data what you think it is? | |
PerlMonks |
Re3: Words without a Dictionaryby dragonchild (Archbishop) |
on Jul 22, 2003 at 19:37 UTC ( [id://276894]=note: print w/replies, xml ) | Need Help?? |
You are being thick. $word is a variable that's scoped to the generate_password() subroutine. Of course, you can't print it out. Try printing the value returned by calling the subroutine, as seen below:
------ Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement. Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
In Section
Seekers of Perl Wisdom
|
|