Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Perl beginnere

by sundialsvc4 (Abbot)
on Feb 13, 2013 at 20:22 UTC ( #1018627=note: print w/replies, xml ) Need Help??

in reply to Perl beginnere

Start by surfing for examples.   Start with the very simplest one:   a loop that reads a file and prints each line.   From there, you can see your way to how to count the lines.   Next, look at split, and write a separate experimental script that takes some string and splits it.   Figure out how to count the number of elements in that string, and how to write a loop to iterate through the list.   You can find examples of all of these things ... and this is the only way to learn how to do this stuff.   You’re going to stumble, you’re going to make mistakes, and you’re going to learn the craft from that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018627]
[Discipulus]: hi Tux and good morning you and all!
[Discipulus]: I read about stack size of the tk cb program: have you tried the MCE version? -mce on command line
[msh210]: wow... talk about overkill... seeking a Perl way to split a file by size while ending on a line ending, and only then discovered that split -C will do it

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-09-20 07:00 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (234 votes). Check out past polls.