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