Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: tr operator in eval -- updated

by AnomalousMonk (Archbishop)
on Sep 26, 2020 at 16:43 UTC ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2023-03-23 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?