Hello,

I'm triying to do some substitutions on an  pdf file.


perl -p -i~ -w -e "s/A/B/;" file.pdf

This works as intended, except:  perl adds 0x0D (Windows \n)  :-/
as a  HEX diff shows.
How can I work around this? Is there something like binmode()?

cheers
Thomas




-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to