Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Humanized lists of numbers

by CharlesClarkson (Curate)
on Jun 24, 2001 at 23:18 UTC ( #91107=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print scalar human([' - ', undef, ' and '], 'aa' .. 'ba', '-100' .. 4)
    +, "\n\n";
    
    __END__
    
  2. or download this
    Read chapters: 1-3, 5, 7-9, 11, 14 before friday.
    Read these chapters by friday:
    1 through 3
    ...
    
    aa-ba, -100-4
    aa - ba and -100 - 4
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2023-01-29 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?