You just illustrated my major complaint about Perl. Mike > -----Original Message----- > From: tclug-list-admin at mn-linux.org > [mailto:tclug-list-admin at mn-linux.org]On Behalf Of Joshua b. Jore > Sent: Friday, November 09, 2001 11:39 AM > To: tclug-list at mn-linux.org > Subject: Re: Learning CGI Database Wizardry (Was Re: [TCLUG] PostgreSQL > Ad vocacy (was Re: <TROLL> (was ...))) > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Uh... no. perl variables aren't loose or untyped. They're just doubles, > string pointers and magic simultaneously. ;-) I had a weird moment when I > realized that a single scalar contain a double/integer value and > simultaneously an unrelated string value. That would be something like: > > $a = 'string'; > $a = 1; > > and having both values be stored. Admittedly this level of perl trickery > involves having some C or XS code around but it's actually mentioned as a > possibility in one the perlguts manpage. And no, I'm not talking about > > $a = 'something'; > @a = ('another thing'); > %a = ('yet', 'another', > 'altogether', 'now.'); > > ;-) > > I just like it that perl has structures explicitly named 'magic' and > 'more_magic' (a pointer to another 'majic' structure). It makes me think > of that more_magic story from the jargon file. > > Joshua b. Jore > Minneapolis Ward 3, precinct 10 > http://www.greentechnologist.org