in reply to Re^2: problem with File::Cat
in thread problem with File::Cat

You definitely do not want to use printf like that!   The second argument in your example is the format string so any % characters in it will be interpreted by printf.

Replies are listed 'Best First'.
Re^4: problem with File::Cat
by jeanluca (Deacon) on Apr 24, 2007 at 17:52 UTC
    hmm, thats a very good point. Then
    { local $\ ; while (<FILE>) { print $handle $_; } }
    would probably be the best solution, or do I miss something (again) ?

    LuCa