Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Is what you want available?

by Arunbear (Prior)
on Jun 10, 2017 at 13:23 UTC ( #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
Node Status?
node history
Node Type: note [id://1192475]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2019-09-17 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (215 votes). Check out past polls.

    Notices?