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

Re: tr operator in eval -- updated

by AnomalousMonk (Archbishop)
on Sep 26, 2020 at 16:43 UTC ( [id://11122241]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Win8 Strawberry 5.30.3.1 (64)  Sat 09/26/2020 11:37:04
    C:\@Work\Perl\monks
    >perl
    ...
    Use of uninitialized value $kards in concatenation (.) or string at - 
    +line 12.
    1: Num of 'K' in AKQJT98765432KKKK is ==
    2: Num of 'K' in AKQJT98765432KKKK is == 5
    
  2. or download this
    Win8 Strawberry 5.30.3.1 (64)  Sat 09/26/2020 12:14:28
    C:\@Work\Perl\monks
    ...
    s///:  Num of 'AQK' in 'AKQJT98765432KKKK' == 7
    m//:   Num of 'AQK' in 'AKQJT98765432KKKK' == 7
    tr///: Num of 'KAQ' in 'AKQJT98765432KKKK' == 7
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-03-29 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found