tneff@bfmny0.BFM.COM (Tom Neff) (09/26/90)
Instead of implementing structures in Perl, let's add a real enum()
to replace the various "enum.pl" packages. And make the dollar sign
optional for enum variable definitions. Thus
enum(red=100,blue,green,yellow,orange)
then
$mycolor=$blue;
Make the native enum() mark its variables read-only until the next
reset() call. Force them to be longs only. Optimize self defining
values at compile time if possible.
That way Perl would effectively already have structures.
enum(fname,ftype,fdate,fsize,fflags);
$FCB[fname] = "myfile.tmp";
$FCB[ftype] = 3;
Note that making the dollar signs optional in subscript references might
help readability too.
system("echo Randal please send me a new JAPH | rmail merlyn@iwarp.intel.com");
--
"It has come to my attention that there is more !!! Tom Neff
than one Jeffrey Miller." -- Jeffrey Miller ! ! tneff@bfmny0.BFM.COM