Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: My coding guidelines

by jryan (Vicar)
on Nov 25, 2002 at 19:18 UTC ( [id://215706]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # prototypes only check arg format
    # i.e. (scalar/array/hash/code/glob and number of args)
    ...
    print_string($obj); # fine
    print_string(5);    # uh oh... basic numbers don't have a stringify me
    +thod,
                        # yet the arg passed the prototype since 5 is a sc
    +alar.
    
  2. or download this
    # methods don't check prototypes... at all.
    
    ...
    }
    
    print_string_bad($obj);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-25 21:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found