in reply to How to split "/"
my $path = '/home/temp//login' ;
my ( @parts ) = ( $path =~ /([\/\\]?\w+)(?(?=[\/\\]+\w+[\/\\]*?$)[\/\\
warn Dumper \@parts ;
my ( $a, $b , $c ) = ...
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (578 votes). Check out past polls.