Re: How Do I Implement an Array or Linked List of Pointers in Perl?

2001-07-17 Thread Paul
--- Chuck Morford <[EMAIL PROTECTED]> wrote: > I think I read somewhere that when I store a Reference in an Array it > gets converted to a String and can no longer be used as a > Reference...Is that right? opps -- I misread this in my initial answer. Using a reference in a string context will co

Re: How Do I Implement an Array or Linked List of Pointers in Perl?

2001-07-17 Thread Brett W. McCoy
On Tue, 17 Jul 2001, Chuck Morford wrote: > And about Pascal's Record Type. Is there anything equivalent in Perl > without getting into OOP? Linked lists are really not necessary in Perl since you can do cool things with lists that you can't do in Pascal or C. However, I think for what you are

How Do I Implement an Array or Linked List of Pointers in Perl?

2001-07-17 Thread Chuck Morford
Hi All, I'm a raw newbie to Perl, but have been coding in Turbo Pascal for many years. As a way to learn Perl, I've decided to re-implement a text adventure framework that I wrote in TP many years ago, that served as a Pascal training vehicle for me. In Pascal, I used to create an array or link