more useful options | |
PerlMonks |
Re x 2: Simple Regexby Sweeper (Pilgrim) |
on Apr 08, 2002 at 20:09 UTC ( [id://157537]=note: print w/replies, xml ) | Need Help?? |
You love "5", don't you? :)
The 555 area code is a well-known area code that appears only in Hollywood movies and other fiction stuff. There is even a web page about that: http://home.earthlink.net/~mthyen/ So, if you want to "sanitize" a piece of code containing phone numbers (for privacy reasons and to fight spam... er telemarketing), you replace these by phone numbers from the 555-area. Yet, maybe Sevrin could have said 555-1234-5678 or 555-2002-0408 :-) update I have forgotten the following example. In Mac Perl, Power and Ease (published by Prime Time Freeware http://www.ptf.com/), both authors (Vicki Brown and Chris Nandor) give their phone numbers: $phone{"Vicki"} = "555-1234"; $phone{"Chris"} = "555-4321";You can read it on-line at http://ptf.com/macperl/ptf_book/r/MP/120.SS.html#03 Another update. Sevrin, may be you could look at some of the modules you get in http://search.cpan.org/search?mode=module&query=phone
In Section
Seekers of Perl Wisdom
|
|