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

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

by toolic (Bishop)
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 pondering the Monastery: (14)
As of 2015-07-06 20:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls