

Once again, thanks to everyone for the invaluable help, with the notable exception of the gimboids who "architected" the Java search engine for theh O'Reilly Perl CD Bookshelf. That's just the clearest way I could come up with to phrase the issue in a way everyone might find accessible. No, I'm not writing a web monopoly server. Several games of monopoly may be in progress at any time, and the games are being played across the www via HTTP. Arrays might contain various cards along with information pertinent to each card (such as whether a title is bought, mortgaged etc). One array will contain all the meaninful names for a given set of persistent data.Īn example might be that the data consists of the values of the Chance, Community Chest and title deeds of a game of Monopoly. The application will consist of many such arrays for a given persistent data set (I'm not putting that well). The array names must be meaningful to someone, but are otherwise arbitrary other than they must identify a set of information reliably session after session. The problem that I asked your help with involves persisting arrays of information across sessions. The tidbit I wasn't in posession of when I wrote that request was that in perl you can declare a pointer to an array that doesn't exist yet.

I had to think for a minute to remember how that works because I never do it. If we're going to talk about doing it sanely, then what rab and Raak said. which I've just realised is exactly what rab suggested. Raak - "I have just been eaten by a groo" You go slightly less mad if you write: $ In fact Tie:: parcels in general come in handy sometimes, though they can obscure time and memory size issues from you when used for extreme purposes. # But what if I want a normal = $z."\n" Īlso, if the number of lines in your file doesn't run to a great many thousands, I commend Tie::File to your attention as a way to hide some boring read details from you. Weary Crescent computer nerd - rest yourself here.ĭan - "Hint, = ( 'Item zero', 'Item one', 'Item two' ) Mornington Crescent - Let Me Check My Notes
