- or download this
#!/usr/bin/perl
use warnings;
...
print $s, "\n";
}
print $s, "\n";
- or download this
$ perl t.pl
"my" variable $s masks earlier declaration in same scope at t.pl line
+5.
...
Use of uninitialized value $s in print at t.pl line 11.
Foo
- or download this
#!/tools/packarch/public/perl/5.8.8/bin/perl
use strict;
...
{
print "string not found\n";
}