The stupid question is the question not asked | |
PerlMonks |
Re: Matching hyphens in file path to extract zip codeby haukex (Archbishop) |
on Feb 05, 2020 at 14:59 UTC ( [id://11112431]=note: print w/replies, xml ) | Need Help?? |
Is the ZIP code always at the beginning of the filename? You can use the core module File::Basename to strip off the path:
In Section
Seekers of Perl Wisdom
|
|