CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [rnovelo] Creating sequential variables: Edit Log



FishMonger
Veteran / Moderator

May 25, 2018, 11:51 AM


Views: 7302
Re: [rnovelo] Creating sequential variables

NO, don't do that; it's a very bad idea.

Instead, use an array or a hash. If you want sequentially numbered vars, use an array and use the array index as the reference number. If you want a group of named vars (not sequential numbers), then use a hash.


(This post was edited by FishMonger on May 25, 2018, 11:52 AM)


Edit Log:
Post edited by FishMonger (Veteran) on May 25, 2018, 11:52 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives