Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Converting to number doesn't always work...

by harangzsolt33 (Chaplain)
on Nov 22, 2019 at 05:55 UTC ( [id://11109046]=note: print w/replies, xml ) Need Help??


in reply to Re: Converting to number doesn't always work...
in thread Converting to number doesn't always work...

Oh, thanks for catching that!

my $A = 'abcd0123456789ABCDE[]{}()_=|?<>!@~%$/.-'; print "\nBEFORE: $A"; $A =~ tr|[0-9]||cd; print "\nAFTER: $A"; # Output: 0123456789[]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-26 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found