Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: so simple

by gnat (Beadle)
on Jun 14, 2000 at 22:27 UTC ( [id://18153]=note: print w/replies, xml ) Need Help??


in reply to so simple

The easiest solution is to not have functions that do double duty as methods. Either don't use objects (probably not reasonable) or don't use normal function calls. Make all your subroutines be methods, then say:
sub some_public_subroutine {
  my $objref = shift;

  #blah blah
  $objref->some_private_sub("arg1", "arg2", "...");

}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://18153]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-19 12:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found