export MYVAR='xyz' perl -e 'print $ENV{MYVAR}' [download]
In reply to Re: arguments to perl -e by borisz in thread arguments to perl -e by olecs