Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: php to perl

by wazoox (Prior)
on Jul 07, 2011 at 11:24 UTC ( #913163=note: print w/ replies, xml ) Need Help??


in reply to Re^4: php to perl

Very easily.

$foo = "My number is 123456"; $num = $foo; $num =~ s/(\W|\D)//g; print $num;


Comment on Re^5: php to perl
Download Code
Replies are listed 'Best First'.
Re^6: php to perl
by Anonymous Monk on Jul 09, 2011 at 23:50 UTC
    very good

    thanks you

    for reponse :-)

    best regards

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-31 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls