Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Humanized lists of numbers

by CharlesClarkson (Curate)
on Jun 24, 2001 at 23:18 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found