As he is asking for a way to do this on the command line, I'd be inclined to offer something simple:
my $m = $x =~ m!([^/]*)$!;
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: getting the tail of a string
by sauoq
in thread getting the tail of a string
by tos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |