in reply to Re: Keeping environment variables after perl has exited
in thread Keeping environment variables after perl has exited

sourcing a script means "run this script in the current shell". Which, unless your shell knows how to parse and execute Perl, isn't going to work for a Perl program:
$ tcsh $ echo 'print "Hello, world\n"' > ppp $ source ppp $ print: Command not found.
Abigail

Replies are listed 'Best First'.
Re: Re: Keeping environment variables after perl has exited
by Sandy (Curate) on Feb 19, 2004 at 22:53 UTC
    Yep, that's what I thought. I was just hoping for a different answer.

    Sandy