Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Inconsistent ls -l results??

by Beatnik (Parson)
on Jun 14, 2001 at 21:49 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-25 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found