use strict; use warnings; use MyConst; print $MyConst::const1, "\n"; # prints 1
In reply to Re: how to create a constant file and use it in other file
by pc88mxer
in thread how to create a constant file and use it in other file
by perlfan99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |