Perl UNIX/Linux API

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am looing for Perl code to replace common UNIX/Linux functions.
For example, is there a Perl equivalent of the "df" command - that can
be used
to get filesystem information in a standard way across UNIX & Linux

Re: Perl UNIX/Linux API

Quoted text here. Click to load it

Now _that_ is an unfortunate typo...

Quoted text here. Click to load it /

Though rather oldish, and I don't see "df" listed there.

A more recent sighting:

Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher0cmdat/"

Re: Perl UNIX/Linux API

  TJM> /

and the OP didn't search cpan which has modules for most/all of those
common unix utilities. these showed up when i searched for df:



Uri Guttman  ------  -------- --
-----  Perl Code Review , Architecture, Development, Training, Support ------
--------- Free Perl Training --- ---------
---------  Gourmet Hot Cocoa Mix  ---- ---------

Re: Perl UNIX/Linux API

Thanks for the replies.
I did check CPAN actually, but I wasn't directly searching for df at
the time - that was just one example.
I was hoping to stumble across a whole library of tools - looks like
ppt is the most likely answer.

Site Timeline