withmy $url = $link->url_abs; my $filename = URI::Escape::uri_escape( $link->url_abs->path ); $filename =~ s[^.+/][];
my $base = "http://www.xxxx.com/programs_results/pdf/"; my $filename = join '', $link->rel($base)->path_segments();
In reply to Re: Question about URI::Escape
by ikegami
in thread Question about URI::Escape
by palsy017
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |