Stat::lsMode would probably be of interest as well. 

http://search.cpan.org/author/MJD/Stat-lsMode-0.50/lsMode.pm

On Mon, 2003-04-07 at 10:41, R. Joseph Newton wrote:
> [EMAIL PROTECTED] wrote:
> 
> >
> > Hello Mother,
> >
> > While not knowing exactly what you want to do,
> > in general you can use the backtick operators
> > to return the output of an external script or
> > program; for example, to get a 10 byte string
> > of permissions on 'some.file' you could:
> >
> > $perm = substr (`ls -al some.file`, 0, 10);
> 
> I like it!  I'm not much of a 'nix user, and I'd forgotten that you could ls -al for
> a single filename.  This certainly pulls the wanted information in quite elegantly.
> 
> Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to