in reply to Segmenting a file &deleting control characters

while(<IN>){ ... copy(<IN>,$dest); ... }
is wrong. <IN> is not a variable.
I don't want to say more, because thinking is good for intelligence.

Replies are listed 'Best First'.
Re: Re: Segmenting a file &deleting control characters
by blacksmith (Hermit) on Jun 20, 2001 at 00:04 UTC
    I agree. Thinking is good for intelligence AND survival. But let's not forget that taking responsibility for a mistake is good for character. Having said that I did make that mistake, because I had pasted the code without verifing that line. Thanks for noticing. Blacksmith.