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

Re: how to access elements in perl

by davido (Archbishop)
on Apr 28, 2014 at 07:10 UTC ( #1084082=note: print w/ replies, xml ) Need Help??


in reply to how to access elements in perl

substr, length, and a C-style for loop are the most obvious tools. What have you tried so far?

You probably haven't had much exposure to the Monastery, but here are some tips:

We prefer questions that show some initiative. If you just need code written for you, you may find a paid contractor to be more receptive. If you're here to learn, that process starts with you, and we're happy to add our experience and guidance to the efforts you invest.

We can assist as you hit stumbling blocks. If the stumbling block is "I have no idea how to program or how to use Perl, but I need a solution by next week.", your situation actually isn't as desperate as you might think. Read perlintro, think of how you might solve the problem with pencil and paper, and then get started trying to implement that strategy with Perl.

When you do post questions, post the code you've got so far so that we can see where help is needed.


Dave


Comment on Re: how to access elements in perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-09-19 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (133 votes), past polls