Jun 1, 2011, 2:40 PM
Add use strict; and use warnings; do the beginning of every script and declare your variables.
Re: [shafathperl2011] Perl Arithmatic
Also, don't forget to use a semicolon to end a statement.
That will change your code to the following:
my $var1 = 100;
my $var2 = "information";
(This post was edited by miller on Jun 1, 2011, 2:44 PM)