Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Inline CPP undefined subroutine

by BillKSmith (Prior)
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 studying the Monastery: (3)
As of 2019-10-20 08:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?