![]() |
|
No such thing as a small change | |
PerlMonks |
Deciphering the output from Data::Dumperby DigitalKitty (Parson) |
on Dec 14, 2007 at 23:13 UTC ( #657139=perlquestion: print w/replies, xml ) | Need Help?? |
DigitalKitty has asked for the wisdom of the Perl Monks concerning the following question:
Hi all.
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. Thanks, ~Katie Update: Solved the 'explicit package name issues' by declaring the lexical variables outside of the while loop.
Back to
Seekers of Perl Wisdom
|
|