It can be changed like below:
Cheers,
Dat
Programming and creating plugins and templates
Blog
Code:
sub remove_leading_http { my $tmp = $_[0]; $tmp =~ s|https?\://(www.)?||; $tmp =~ s|/.*$||g; return $tmp; }Cheers,
Dat
Programming and creating plugins and templates
Blog