[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Undefined subroutine &main::echo called at -e line 1



On Fri, 2008-07-04 at 12:31 -0700, Ali Khan wrote:
> Undefined subroutine &main::echo called at -e line 1.

Try checking your shell with the following:

$ echo

$ echo test
test
$ sh -c 'echo test;'
test
$ sh -c 'set -e; echo test;'
test
$ sh -c 'set -e; echo "test";'
test
$ bash -c 'set -e; echo "test";'
test

I can't see any other reason - yet 'Undefined subroutine' is more of a
Perl error.

Something appears very broken in your configuration.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/




Reply to: