Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: list files based on age and pattern

by kaka_2 (Sexton)
on Sep 16, 2013 at 13:23 UTC ( [id://1054294]=note: print w/replies, xml ) Need Help??


in reply to Re: list files based on age and pattern
in thread list files based on age and pattern

Hello Richard,

I tried as you suggested but it gives me error "cant locate object method "file" via package file::find::rule..........

my perl version is v5.8.8 and upgrade is not an option on client machine.

-KAKA-
  • Comment on Re^2: list files based on age and pattern

Replies are listed 'Best First'.
Re^3: list files based on age and pattern
by hdb (Monsignor) on Sep 16, 2013 at 13:37 UTC

    You would need to add a line

    use File::Find::Rule;

    somewhere at the top of your script. (Assuming this module is installed on your machine.) Also, have a look at the examples in the documentation as linked in CountZero's post.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found