Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: What is missing from the beginning of this string?

by jakeease (Friar)
on Oct 08, 2010 at 00:55 UTC ( [id://864121]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub fix_URL {
        use URI;
    ...
        print "input is: $in\n";
        print "fixed url is: $url\n";
    }
    
  2. or download this
    perl> fix_URL 'tp://www.cnn.com'
    input is: tp://www.cnn.com
    fixed url is: http://www.cnn.com
    perl>
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 01:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found