Mega Code Archive

 
Categories / Perl / Language Basics
 

Using variable with -e option

perl -e "$text = \"Hello there\";" -e "print $text;"