|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
syntax error with map in list contextby LucaPette (Friar) |
| on Nov 20, 2005 at 12:03 UTC ( #510234=perlquestion: print w/ replies, xml ) | Need Help?? |
|
LucaPette has asked for the
wisdom of the Perl Monks concerning the following question:
I have written the following code:
It doesn't work, infact perl prints an error like this: To resolve the problem i have changed this chuck of code: with this:
With the latter chuck of code the little program works and prints an output like this: Now i am wondering which is the problem with the former code but i am not be able to find an answer. Can someone help me to find the right answer?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||