in reply to
How to split "/"
Try with this ( you can use it on windows )
my $path = '/home/temp//login' ;
my ( @parts ) = ( $path =~ /([\/\\]?\w+)(?(?=[\/\\]+\w+[\/\\]*?$)[\/\\
warn Dumper \@parts ;
my ( $a, $b , $c ) = ...
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (476 votes),