"Jair V. B. Junior" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all, here comes a little confusing question :-)
>
> a.pl:
> #!/usr/bin/perl
use warnings; #this will help show you where you went wrong
> require 'b.def';
The code in b.def is executed right now, before anythin
I don't want to begin to understand why you're doing this, but if you
make a.pl read:
#!/usr/bin/perl
$test = 'World!';
require 'b.def';
print $abacus;
it should work. If you mean for b.def to define some standard
functionality, try defining subs in it instead.
-David
On Tue, 9 Nov 2004 17:48: