Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Remove BOM ?

by zod (Scribe)
on Nov 19, 2008 at 05:53 UTC ( #724474=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     while ( my $line = <IN> ) {
         $line =~ s/^\x{FEFF}//;    
         print OUT $line;
    
  2. or download this
    s/^\x{FEFF}//g 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://724474]
Approved by graff
help
Chatterbox?
[LanX]: inspect %INC ?
[Lady_Aleena]: LanX, for every module I've written?
[huck]: Lady_Aleena see Re: pl script in webserver and/or Re: pl script in webserver for what they use
[Lady_Aleena]: Wouldn't I have to run the modules somehow to get their %INC?
[huck]: the first one works just fine from the command line but requires editing
[huck]: but neither will handle autoloads

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-05-27 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?