Help for this page

Select Code to Download


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