Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^4: Regex to extract last 3 components of filename

by haukex (Archbishop)
on May 05, 2021 at 17:00 UTC ( [id://11132080]=note: print w/replies, xml ) Need Help??


in reply to Reaped: Re^3: Regex to extract last 3 components of filename
in thread Regex to extract last 3 components of filename

Lift it out and adapt it to your own code.

File::Spec is a core module. "Copy and paste some code out of a CPAN module" is a last resort at best.

Also be aware of the many goodies in Regexp::Common.

Regexp::Common does not handle filename manipulations.

  • Comment on Re^4: Regex to extract last 3 components of filename

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found