You sure about that? That's really not the way I'm seeing it work. It's just like use vars, but shorter and only initially available where you intend to use it. Perhaps I don't see the problem clearly.
test->function; print "$test::yeah\n"; package test; sub function { our $yeah = 7; }
I don't see how it limits you, but I do see a clear benefit: I like it better than use vars.
-Paul
In reply to Re^4: Global destruction feature / bug ?
by jettero
in thread Global destruction feature / bug ?
by liz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |