code_junkie

Is “local our” the thing to use in object modules under mod_perl2, or only in scripts

Nov 14th, 2011
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. sub new
  2. {
  3. local our $type = shift;
  4. local our $self = {};
  5. bless $self, $type;
  6. }
Add Comment
Please, Sign In to add comment