We don't bite newbies here... much | |
PerlMonks |
Re: What is missing from the beginning of this string?by ssandv (Hermit) |
on Oct 08, 2010 at 19:43 UTC ( [id://864270]=note: print w/replies, xml ) | Need Help?? |
use index to find "//", or failing that, "/". (It would be easier if all URLs started with www, but good luck on that). Depending on the results of the previous tests, prepend the appropriate substr from "http://".
In Section
Seekers of Perl Wisdom
|
|