http://www.perlmonks.org?node_id=86743


in reply to Re: Re: Regular expression
in thread Regular expression

Hmm, sorry if it was misleading, but I think it's a "statement" nonetheless, no?

package foo; sub foo { 1; } 1;

Besides the fact that a required file needs a "true" value returned, I don't think the 1 at the end of the file is any different from the 1 in a sub or any block of code?

Syntactically, yeah, they mean different things, but I believe the mechanism that goes behind there are the same...

That was sort of where I was trying to get at, if it makes any sense