Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: delete FF's from a file

by james28909 (Chaplain)
on Feb 11, 2013 at 09:27 UTC ( #1018111=note: print w/replies, xml ) Need Help??


in reply to Re: delete FF's from a file
in thread delete FF's from a file

i did try $file =~ s/\F{16}//d as well as $file =~ s/\F{16}//g
and it still did not work

Replies are listed 'Best First'.
Re^3: delete FF's from a file
by Corion (Pope) on Feb 11, 2013 at 09:30 UTC

    Neither \F nor \FF are how you represent an "FF character" in a string.

    Most likely you want \x{FF}, but you will find more information in the documentation as linked by Anonmyous Monk here already.

Re^3: delete FF's from a file
by Anonymous Monk on Feb 11, 2013 at 09:30 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018111]
help
Chatterbox?
[Corion]: Hurr - use lib glob '/opt/perl/foo*'; - I'm not really sure if that is sane ;-D

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2017-01-19 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.