Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2016-12-11 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (168 votes). Check out past polls.