Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How can I define the subroutine to get the result of the appended string i.e. ATGCTTTT?

by toolic (Chancellor)
on Sep 25, 2012 at 16:22 UTC ( #995586=note: print w/ replies, xml ) Need Help??


in reply to How can I define the subroutine to get the result of the appended string i.e. ATGCTTTT?

One way to do it is to call your function using the package name as a prefix DNAappend::DNAappend:

use warnings; use strict; use DNAappend; my $a='ATGC'; my $b='TTTT'; print"\n\n"; print DNAappend::DNAappend($a,$b); print"\n\n"; exit;

See also:


Comment on Re: How can I define the subroutine to get the result of the appended string i.e. ATGCTTTT?
Select or Download Code
Re^2: How can I define the subroutine to get the result of the appended string i.e. ATGCTTTT?
by supriyoch_2008 (Scribe) on Sep 25, 2012 at 18:24 UTC

    Hi toolic,

    Thanks for your suggestions. I shall try it.

    With regards,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-12-28 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls