When I make new subs in my niffty perl modules, the first argument is sometimes a pointer to the module/object ... whatever, I really don't know exactly.
I need a cool_majik_check to see if the first arg is infact a pointer to itself or not. Sometimes I like to call a function from inside the module which makes it hard to tell.
sub my_funky {
shift if cool_majik_check;
my ($arg1, @others) = @_;
return "What a stup'd funky";
}
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |