Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Inline CPP undefined subroutine

by BillKSmith (Parson)
on Nov 06, 2018 at 04:45 UTC ( #1225302=note: print w/replies, xml ) Need Help??


in reply to Inline CPP undefined subroutine

There is a simple all-perl solution:
use strict; use warnings; my $seq = 'AAGCTTGACCGGG'; my $count = $seq =~ tr/CG/CG/; print $count, "\n"; RESULT: 8
Bill

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2019-03-24 15:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How do you Carpe diem?





    Results (114 votes). Check out past polls.

    Notices?