Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Default values in functions arguments

by jptxs (Curate)
on Sep 27, 2000 at 22:44 UTC ( [id://34259]=note: print w/replies, xml ) Need Help??


in reply to Default values in functions arguments

not sure what database you're using or if these 'default values' would change from time to time depending on context, but you could let the database take care of that for you. Most DBs will let you assign defaults for columns. I'm an Oracle guy and I do this in a few places and it works like a charm. obviously, this is only useful if these are true 'defaults' that would always be the same in the absence of real data to insert.

-- I'm a solipsist, and so is everyone else. (think about it)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-03-28 21:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found