Why not use the module to its full potential?
use URI::URL; my $url = URI::URL->new( 'http://172.20.37.115:8080/se/1.0/provision/subscribers/198968'); my @paths = $url->path_segments; my $last = $paths[-1]; print "$last\n"; __END__ 198968
In reply to Re^2: how to find particular string and store in to variable
by Anonymous Monk
in thread how to find particular string and store in to variable
by bhushanQA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |