in reply to Re: Question about WWW::Mechanize
in thread Question about WWW::Mechanize

use URI::Escape; my $filename = URI::Escape::uri_escape( $link->url_abs->path );
This line of PERL (listed above) works, but I need to make a change. The PDFs are saving with the encoding in the file name. How could this be filtered so that the end result looks like A, not B?

A. 100004_20090326.pdf

B. %2Fpdf%2F100004%2F_20090326.pdf

Thanks alot!!!