If you're sure that the data you process contains only valid URLs, you can do it a bit more conveniently with:
Hope this helps, -gjb-$link =~ m{http://([^/]+)}; $server = $1;
In reply to Re: Parsing to get server info
by gjb
in thread Parsing to get server info
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |