Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Replacing non ascii in string

by IanD (Initiate)
on Jan 31, 2013 at 05:21 UTC ( [id://1016210]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $url = "http://www.flightcentre.com.au/static/SkiHolidays.xml";
    $data_string = get($url);
    $data_string =~ tr/‘’/'/;
    $data_string =~ tr/’/'/;
    $data_string =~ s/'''/'/g;
    
  2. or download this
    $file1 = "aafc.txt";
    
    open (FILE,">$file1");
        print FILE $data_string;
    close(FILE);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1016210]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-19 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found