2010/7/19 newbie01 perl <newbie01.p...@gmail.com>: > Hi all, > > Does anyone know if someone had written a Perl stat script that mimics the > Linux' stat command? > > I want to be able to use the stat command on Solaris, unfortunately, I just > found out that that command is not available on Solaris and HP-UX so am > thinking a Perl script should be the way to go then instead so I can have it > on any UNIX's flavours. >
I have been using File::Stat which may bring some helps to you. http://search.cpan.org/~makoto/File-Stat-0.01/Stat.pm -- Jeff Pang http://home.arcor.de/pangj/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/