$ cat /tmp/p #!/usr/bin/perl -w my $x = 1; END { sub { print "x=$x\n" }->(); } $ perl586 /tmp/p Use of uninitialized value in concatenation (.) or string at /tmp/p li +ne 5. x= $ perl590 /tmp/p x=1 $
Dave.
In reply to Re: Variables out of scope using END and Error.pm
by dave_the_m
in thread Variables out of scope using END and Error.pm
by RazorbladeBidet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |