Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2016-06-25 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.