in reply to how to create a constant file and use it in other file
use strict; use warnings; use MyConst; print $MyConst::const1, "\n"; # prints 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to create a constant file and use it in other file
by perlfan99 (Sexton) on Jul 16, 2008 at 00:19 UTC | |
by pc88mxer (Vicar) on Jul 16, 2008 at 00:24 UTC | |
by perlfan99 (Sexton) on Jul 16, 2008 at 00:33 UTC | |
by sgifford (Prior) on Jul 16, 2008 at 02:36 UTC | |
by alexm (Chaplain) on Jul 17, 2008 at 01:51 UTC | |
by perlfan99 (Sexton) on Jul 16, 2008 at 00:23 UTC |