Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Is what you want available?

by Arunbear (Prior)
on Jun 10, 2017 at 13:23 UTC ( [id://1192475]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Is what you want available?
in thread Is what you want available?

User friendliness includes having sensible defaults. English is a sensible default language. So if I wanted a random month in the default language I'd expect to be able to do
my $month = random_month();
Now if I wanted an abbreviated random month in the default language I'd expect to be able to do
my $month = random_month(-abbrev => 1);
Language and abbreviation are two distinct concepts, which indicates you need two parameters to handle them cleanly,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found