Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Fetch Problem uriby 1nickt (Canon) |
on Jul 04, 2015 at 14:45 UTC ( [id://1133154]=note: print w/replies, xml ) | Need Help?? |
(Scroll down for an answer to your latest question ...) Strange that there is no available module that seems to cope rightly ith this URI. Or maybe is the URI to be "non standard Your URI is fine (until you added a space at the start, heh). The module is maybe what is "non-standard," I am afraid. First the problem addressed by Perlbotics' patch; the method $ff->output_file not being a method to set the value, as it would appear to be. Then the ungraceful handling of a problem URI (e.g. with a leading space as in your OP):
These two things alone would make me consider looking for a different solution on CPAN. Now I just have to figure out how to get the right file name out of the URI. You are on the right track with a path-parsing module. But if all your files are of the format you showed, you might want to use a regexp:
Remember: Ne dederis in spiritu molere illegitimi!
In Section
Seekers of Perl Wisdom
|
|