Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Transform numeric string in numeric string

by spadacciniweb (Deacon)
on Nov 29, 2005 at 08:46 UTC ( #512541=note: print w/replies, xml ) Need Help??


in reply to Re: Transform numeric string in numeric string
in thread Transform numeric string in numeric string

it's ok:
$num =~ s/(?!^)(.{3})(?=(?:.{3})*$)/.$1/g;
thank you!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://512541]
help
Chatterbox?
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2018-07-17 10:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (363 votes). Check out past polls.

    Notices?