|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Usage of File::Tail::Multi generates conversion errorsby fmerges (Chaplain) |
| on Nov 18, 2008 at 23:57 UTC ( #724432=note: print w/ replies, xml ) | Need Help?? |
|
Hi, Following MidLifeXis hint, printf expect to get a format, as the first argument, in your case that would be "$line\n", so whatever it's in $line + the "\n" will be used as the format, then it will try to substitute by the LIST of replacements, which is empty. Use print in all cases, except for those where you really want to have a specific format, where it comes handy to use printf. Regards,
fmerges at irc.freenode.net
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||