"be consistent" | |
PerlMonks |
Re^2: Using HTML Template to fill a 2-dimensional tableby Athanasius (Archbishop) |
on Feb 20, 2013 at 09:47 UTC ( [id://1019738]=note: print w/replies, xml ) | Need Help?? |
chomp (my @lines = <DATA>); Yes, it’s a useful idiom — but surely not so mysterious?
That wasn’t really so hard, was it? ;-) Avoid writing $_ in your code. Yes, avoid writing $_ explicitly where possible. But be aware that an explicit $_ is often needed; for example:
Hope that helps,
In Section
Seekers of Perl Wisdom
|
|