Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Getting To Grips With Taint - And Picking Up Files

by samurai (Monk)
on Sep 30, 2002 at 17:08 UTC ( [id://201773]=note: print w/replies, xml ) Need Help??


in reply to Getting To Grips With Taint - And Picking Up Files

File::Find is a bit of overkill. A dirhandle would be much quicker:

use DirHandle; my $dh = new DirHandle('/var/log/accounts/'); while (my $file = $dh->read()) { # do stuff ... }
That should clear up your taint problems.

--
perl: code of the samurai

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-19 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found