There's more than one way to do things | |
PerlMonks |
Re: Re: Regular expressionby alfie (Pilgrim) |
on Jun 07, 2001 at 20:41 UTC ( [id://86643]=note: print w/replies, xml ) | Need Help?? |
Please don't confuse the 1 in this example (which indeed is just there for there has to be something there) with the 1; at the end of a perl module!! The 1; statement at the end of a module is truly needed as a returnvalue to the require statement. Substitute it to a 0 and watch the difference. In this example here you could substitue the 1 with a 0, which would change nothing at all...
-- use signature; signature(" So long\nAlfie");
In Section
Seekers of Perl Wisdom
|
|