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

Re: Inline CPP undefined subroutine

by BillKSmith (Monsignor)
on Nov 06, 2018 at 04:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225302]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-24 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found