Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Inconsistent ls -l results??

by Beatnik (Parson)
on Jun 14, 2001 at 21:49 UTC ( #88530=note: print w/replies, xml ) Need Help??


in reply to Inconsistent ls -l results??

This might be more of a Perl answer than a UNIX one, but...

Why not use Perls functionality to check file statistics?? stat is very good at that. Using shell calls for something like that is just plain silly, not to mention insecure.

Update: ofcourse readdir and glob can be (ab)used for reading the directory's contents.

Greetz
Beatnik
... Quidquid perl dictum sit, altum viditur.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-01-27 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (70 votes). Check out past polls.

    Notices?