Hi all, here comes a little confusing question :-)

a.pl:
#!/usr/bin/perl

require 'b.def';
$test = 'World!';
print $abacus;

b.def:
$abacus = "Hello $test";

When I run it:
$ perl a.pl
Hello

Why is this going wrong?


Thanks!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to