|Do you know where your variables are?|
Re: Getting error while executing the scriptby blue_cowdawg (Monsignor)
|on Jun 13, 2012 at 15:33 UTC||Need Help??|
I'm confused... where's the Perl code? I see a shell command line and I see you executing a Perl script called "diskusage.pl" but I don't see the code for that script.
is what is tucked inside of diskusage.pl then it has now way of working at all. But I suspect there's more to this... supply the full (or enough of) code you're trying to run.
simply looking at what you've provided as a command line as a -sh script I'd say that your problem starts with the "-exec" prior to the pipe.
Based on the cited error you are not even invoking the Perl interpreter at all...
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg