perl -le '$PATH="test"; print $PATH' #outputs: test #### perl -le "$PATH='test'; print $PATH" #which gives and error when it interpolates $PATH to the #environment variable in the assignment operator