Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: split questions

by jsprat (Curate)
on Jun 30, 2003 at 04:34 UTC ( #270075=note: print w/replies, xml ) Need Help??


in reply to split questions

Everyone above responded "use an array", and that's good advice.

I'd like to go one step further and say that any time you have sequentially numbered variables (like $_r1, $_r2), think about using an array. Using an array will make the code more readable and more maintainable.

HTH...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270075]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2016-12-09 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.