Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: unrar from multiple directories

by cesapun (Acolyte)
on Aug 09, 2012 at 19:44 UTC ( #986597=note: print w/ replies, xml ) Need Help??


in reply to Re^2: unrar from multiple directories
in thread unrar from multiple directories

I will stay all night to find a way to handle with .rar files.


Comment on Re^3: unrar from multiple directories
Replies are listed 'Best First'.
Re^4: unrar from multiple directories
by Anonymous Monk on Aug 10, 2012 at 00:22 UTC

    Something like -

    sub scan_dir{ unless( $_ =~ /\.rar$/ ) { return; } print $_,$/; }

    should do it.

    J.C.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2015-07-28 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls