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

Re: Re: Re: formatted phone number from variable

by htoug (Deacon)
on May 23, 2003 at 06:05 UTC ( [id://260321]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: formatted phone number from variable
in thread formatted phone number from variable

This was just my attempt to point out that what may superficially seem to be a simple problem, in fact is not.

Formatting phone numbers is not simple.
Formatting 10 digit numbers is simple though.

The poster did specifically mention phone number in the node, so I took the chance to point out that he might be tackling a problem quite a bit larger than he originally intended. You do have to remember that there is a world outside your local pond, and sometimes it can crawl up on you and disturb your nice schemes.

If (and only if) you are certain that all the phone numbers you will have to work with (now and in the future) are exactly 10 digits, then the 10 digit formatting assumption holds. I just don't think that the assumption holds - as my phone number is just 8 digits.

  • Comment on Re: Re: Re: formatted phone number from variable

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-24 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found