Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://270075]
Discipulus go to his cell to bookmark this
[haukex]: Well to be honest I just did a super search for "every should know floating" ;-)
[Discipulus]: floating was the keyword and.. to use supersearch is plus sign not a (plus) sin

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-06-26 20:59 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (594 votes). Check out past polls.