You just need to initialize the variable.
Don't forget use strict; and use warnings at the top of every script.
use strict; use warnings; my $serverfile = 'foo.bar';
In reply to Re^3: How to input variable value from a file?
by wind
in thread How to input variable value from a file?
by perl_newbie99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |