Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Pattern matching question

by linebacker (Scribe)
on Jun 25, 2002 at 18:43 UTC ( #177168=note: print w/replies, xml ) Need Help??


in reply to Re: Pattern matching question
in thread Pattern matching question

Thanks for the response. I am still struggling but getting a little closer. Hopefully Time::Local can bail me out. Yes you are correct that I have to get the date from the filename. Net::Ftp won't let me to long listings. Ugh. This has been very frustrating. My lack of Perl style Regex is killin me. Thanks Mike

Replies are listed 'Best First'.
Re3: Pattern matching question
by Hofmator (Curate) on Jun 25, 2002 at 19:16 UTC
    My lack of Perl style Regex is killin me.
    If this is targeted specifically to your problem at hand here, try this: my ($month, $day) = $filename =~ /(\d\d)(\d\d)x86\.exe/;

    -- Hofmator

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2019-10-17 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?