V
vandana
Hello,
# strip (trailing) filename from path, leaving directory only
my ($path) = $ENV{'PATH_TRANSLATED'} =~ m|(^.*)\\|;
It removes trailing filename from path. Can anyone help me to
understand the working of
m|(^.*)\\|; in above command.
Regards
Vandana
# strip (trailing) filename from path, leaving directory only
my ($path) = $ENV{'PATH_TRANSLATED'} =~ m|(^.*)\\|;
It removes trailing filename from path. Can anyone help me to
understand the working of
m|(^.*)\\|; in above command.
Regards
Vandana