Mega Code Archive

 
Categories / Perl / Language Basics
 

If there are no quotes, then Perl has to decide whether the value is a string or a numeric value

#!/usr/local/bin/perl -w $firstName=Tom; $lastName="Jordan"; $age="3";