can someone chop this up in parts and explain this regexp into detail?
$url =~ s|(.*)/.*$|$1|;
It's used to strip the directory name of an url
Thus is converted into
Tnx in advance
$url =~ s|(.*)/.*$|$1|;
It's used to strip the directory name of an url
Thus is converted into
Tnx in advance