Just another Perl shrine | |
PerlMonks |
Re: printing a hashby perliff (Monk) |
on May 26, 2009 at 06:25 UTC ( [id://766134]=note: print w/replies, xml ) | Need Help?? |
The error is because you are declaring the variable $verse and inside the foreach loop. This cannot be seen outside. So declare it where you declare %Scripts etc. Also there is an error in your print statement. Here is the correct statement.
You need these "{}" instead of "()". perliff
---------------------- "with perl on my side"
In Section
Seekers of Perl Wisdom
|
|