Luinrandir wrote:
package Inn;

BEGIN
{}

END
{}

return 1;


An error comes up when I include the END{} but not the BEGIN{}

any clues?

Er, WTF are you trying to do? What is the error?

You can't use return outside of a sub. The normal idiom is a bare 1 to provide a true result for require().

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