|Do you know where your variables are?|
Deciphering the output from Data::Dumperby DigitalKitty (Parson)
|on Dec 14, 2007 at 23:13 UTC||Need Help??|
DigitalKitty has asked for the
wisdom of the Perl Monks concerning the following question:
I wrote a simple test file (test.txt):
Which I then read via the following perl program:
Since I am currently reading the 1st edition of 'Intermediate Perl' aka 'Perl Objects, References, and Modules', I am trying to understand how to read/interpret the output provided by Data::Dumper. If wanted to display the score each monk received or just their last name, how would I accomplish that? I tried...
...but noticed the following complaints:
Any constructive advice would be most appreciated.
Update: Solved the 'explicit package name issues' by declaring the lexical variables outside of the while loop.