package Foo;
...
1;

Then in your script
use Foo;

the 1; returns true so use knows it was successful :)



While true, that doesn't signal an EOF to the compiler, that is just a
statement. Any last statement's value can be used as the library's
true/false return. To tell the compiler to stop reading for source you
would need to use,

__END__

Thanks for the clarification Wiggins! :)

Lee.M - JupiterHost.Net

--
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