Luinrandir <mailto:[EMAIL PROTECTED]> wrote:

: package Inn;
: 
: BEGIN
: {}
: 
: END
: {}
: 
: return 1;
: 
: 
: An error comes up when I include the END{} but not the BEGIN{}

    Which error are you getting?


    I don't get any errors.

In './Inn.pm':
package Inn;

BEGIN{}

END
{}

return 1;
_____________________________
In script:
#!/usr/bin/perl

use strict;
use warnings;

use lib '.';
use Inn;

__END__


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328



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