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

Re^6: Space between digits

by AnomalousMonk (Chancellor)
on Nov 23, 2012 at 04:56 UTC ( #1005210=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my $string = '9 9 0:00 11/21/2012 12:34 01/23/2012 9 9';
    ...
    "
    '9 9 0:00 11/21/2012 12:34 01/23/2012 9 9'
    '9 9 0:00   11/21/2012 12:34   01/23/2012 9 9'
    
  2. or download this
    >perl -wMstrict -le
    "my $string = '9 9 0:00 11/21/2012 12:34 01/23/2012 9 9';
    ...
    "
    '9 9 0:00 11/21/2012 12:34 01/23/2012 9 9'
    '9 9 0:00   11/21/2012 12:34   01/23/2012 9 9'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005210]
help
Chatterbox?
[Eily]: oh, boolean context uses the "" overload if no bool overload has been defined
[Eily]: (I wondered if overloading bool was actually necessary)
[Corion]: Yeah, you need bool to get a true value, and the rest to return the other value ;)
[choroba]: perl -wE '{package o; use Tie::Scalar; use parent -norequire => "Tie::StdScalar" ;sub FETCH { "x" x int rand 2}} tie my $x, "o" ; say $x for 1 .. 10'
[choroba]: for complete ness

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-07-27 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (414 votes). Check out past polls.