Is there any reason why you can't read in the data when the module is loaded, and assign it when you need to?!? ie:
package mod_name; { local $/; @mod_name::TableTemplate = map {chomp; hex} split ' ', <DATA>; close DATA; } my @Table = @mod_name::Table_Template;
Or am I missing something completely obvious ?!?
cLive ;-)
In reply to Re: Re: a flash of inspiration...
by cLive ;-)
in thread Closing and re-opening the DATA Filehandle
by Adam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |