- or download this
use strict;
- or download this
Global symbol "$xxx" requires explicit package name at ./tst line 5.
- or download this
# Change this:
$string = "hello world";
...
while ($sth->fetch) {
print "F1: $field1 F2: $field2\n";
}
- or download this
use warnings;
- or download this
#!/usr/local/bin/perl -w
...
$^W = 1;
# Or
BEGIN { $^W = 1 }
- or download this
# Change this:
...
local $^W;
$_[0] + $_[1];
}