good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: Idiomatic Perl?by 1nickt (Canon) |
on Mar 20, 2018 at 14:30 UTC ( [id://1211334]=note: print w/replies, xml ) | Need Help?? |
Try it! What does it return? If it's not what you want, another approach might be to call the chomp on the result of the assignment:
Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|