Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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...


Comment on Re: split questions

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-09-18 01:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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











    Results (104 votes), past polls