Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Perl confusion

by 5mi11er (Deacon)
on Jun 26, 2013 at 21:16 UTC ( [id://1040846]=note: print w/replies, xml ) Need Help??


in reply to Perl confusion

This isn't the place to get homework done for you. We expect you to try it on your own, and then when you're stuck with some specific problem, we'll typically help you through that one issue. There's lots of perl on the net, google around find something close, cobble it together to try to accomplish your task, and google through the simple issues. Then come back with code and ask a specific question about why it does something you didn't expect, or doesn't do what you did expect.

-Scott

Replies are listed 'Best First'.
Re^2: Perl confusion
by stamp1982 (Novice) on Jun 26, 2013 at 22:17 UTC
    Scot, Thanks for your message. I did not want a solution to the problem but a breakdown of what was expected in a beginners terms. I know to obtain user input I have to use STDIN but how to write that obtain that with the whitespace is where my confusion lies and I would appreciate some explanation. It is not my homework just practicing Perl for beginners. Please what does the sequence length mean? Thanks
        the sequence length is just the number of nucleotides in a sequence. such as 4, 100, 123 Is it supposed to look like this? #!/usr/bin/perl use strict; use warnings; chomp(my $input = <>); print "$input\n"; if yes how do you put a limit on it for the user input?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found