RE: Pure Perl df

2003-12-30 Thread Bakken, Luke
> > That's your answer. Use $^O and other OS indicators and set up df's > > args > > appropriately then. > > Which gets us back to my other question: Is there a Windows > equivalent? Sure, look at the output of the 'dir' command. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

RE: Pure Perl df

2003-12-30 Thread Wagner, David --- Senior Programmer Analyst --- WGO
James Edward Gray II wrote: > On Dec 30, 2003, at 4:30 PM, Bakken, Luke wrote: > >> That's your answer. Use $^O and other OS indicators and set up df's >> args appropriately then. > > Which gets us back to my other question: Is there a Windows > equivalent? > > James At a command prompt under

Re: Pure Perl df

2003-12-30 Thread James Edward Gray II
On Dec 30, 2003, at 4:30 PM, Bakken, Luke wrote: That's your answer. Use $^O and other OS indicators and set up df's args appropriately then. Which gets us back to my other question: Is there a Windows equivalent? James -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: Pure Perl df

2003-12-30 Thread James Edward Gray II
On Dec 30, 2003, at 4:07 PM, Morbus Iff wrote: Note that if the module is pure perl without a lot of dependencies, you can ship it with your final tarbull I looked at three modules. Two didn't support Windows and I have no idea about the third, which I couldn't figure out what it was up to. I

RE: Pure Perl df

2003-12-30 Thread Bakken, Luke
> >> I browsed the CPAN a bit, but wasn't too happy with the > >> choices there, > >> aside from the fact that any module installs would pretty > much defeat > >> the purpose here. > > > > Why is that? That is the point of modules. > > Well, as I said we're talking about 32 servers running at lea

Re: Pure Perl df

2003-12-30 Thread James Edward Gray II
On Dec 30, 2003, at 3:56 PM, Bakken, Luke wrote: I browsed the CPAN a bit, but wasn't too happy with the choices there, aside from the fact that any module installs would pretty much defeat the purpose here. Why is that? That is the point of modules. Well, as I said we're talking about 32 servers

RE: Pure Perl df

2003-12-30 Thread Morbus Iff
>> I browsed the CPAN a bit, but wasn't too happy with the >> aside from the fact that any module installs would pretty much defeat >> the purpose here. > >Why is that? That is the point of modules. Note that if the module is pure perl without a lot of dependencies, you can ship it with your final

RE: Pure Perl df

2003-12-30 Thread Bakken, Luke
> Okay, I'm at a loss and need help. A friend of mine is > working with a > Perl script. It has a system call to df in it, he would like to > replace with something a little more portable. Well, looking here at the source to df on OpenBSD: http://www.openbsd.org/cgi-bin/cvsweb/src/bin/df/df.c

Pure Perl df

2003-12-30 Thread James Edward Gray II
Okay, I'm at a loss and need help. A friend of mine is working with a Perl script. It has a system call to df in it, he would like to replace with something a little more portable. The script is used in a 32 server environment that I know has at least four operating systems: HP-UX, Solaris,