Deane-
Was the book written with Larry's blessing? maybe he had it changed to
confuse people if it wasn't!
more seriously though, try setting a variable and then putting that to the
variable so.....
use Readonly;
Readonly my $DATA_COLS => 7; # this is line 103 in the code...
becomes...
use Readonly;
my $cols = 7;
Readonly my $DATA_COLS => $cols; # this is line 103 in the
code...
this has an advantage where in the future you can make many duplicate
tables easier, or pass $cols to the function and allow it to become more
modular.... or maybe i'm just trying to find a reason why that might not
be a detriment to have to set a variable first....
-Josh
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs