- or download this
# Module.pm
use warnings;
...
my $thingy = 'thangy';
sub doit { eval 'print "thingy is $thingy\n"'; }
1;
- or download this
use Module;
Module::doit(); # "thingy is "
- or download this
{
use warnings;
...
}
Module::doit(); # "thingy is "
- or download this
{
use warnings;
...
}
doit(); # "thingy is "
- or download this
{
use warnings;
...
}
doit(); # "thingy is thangy"
- or download this
{
use warnings;
...
}
doit(); # "thingy is thangy"
- or download this
{
use warnings;
...
}
doit(); # "thingy is thangy"
- or download this
{
use warnings;
...
}
doit(); # "thingy is thangy"