in reply to Re: Unix size again
in thread Unix size

Its not working gives this when run: du -sk '' at test_2.pl line 5

Replies are listed 'Best First'.
Re^3: Unix size again
by Corion (Patriarch) on Feb 08, 2012 at 09:26 UTC

    Then $location is not what you think it is. Debug your script.

Re^3: Unix size again
by tobyink (Canon) on Feb 08, 2012 at 09:27 UTC

    Well, then that means that $location is an empty string, or perhaps undefined. So the problem lies elsewhere in your code. Post more of the script.