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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://177168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-23 16:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found