in reply to
Variable declaration
You 'use strict' and do not declare the scope of your variable; just add before actual usage a declaration like this:
my $another_variable;
[download]
And variable $new::variable already declared in package 'new'.
Comment on
Re: Variable declaration
Download
Code
In Section
Seekers of Perl Wisdom