gt; (972) 643-3115
> [EMAIL PROTECTED]
>
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 5:02 PM
To: [EMAIL PROTECTED]
Subject: Re: using constant value in as a command variable
Jenda Krynicky wrote:
> From: Tony Esposito <[EMAIL P
Jenda Krynicky wrote:
> From: Tony Esposito <[EMAIL PROTECTED]>
> > I can resolve a constant in a print statement like so:
> >
> > use constant QX12_FILE => "q_x12_in.dat";
> > ...
> > print STDERR "could not change permissions on file @{[ QX12_FILE ]}:
> > $!";
> >
> > but how to resolve the const
From: Tony Esposito <[EMAIL PROTECTED]>
> I can resolve a constant in a print statement like so:
>
> use constant QX12_FILE => "q_x12_in.dat";
> ...
> print STDERR "could not change permissions on file @{[ QX12_FILE ]}:
> $!";
>
> but how to resolve the constant when being used in a function call
I can resolve a constant in a print statement like so:
use constant QX12_FILE => "q_x12_in.dat";
...
print STDERR "could not change permissions on file @{[ QX12_FILE ]}: $!";
but how to resolve the constant when being used in a function call, like so:
use constant QX12_FILE => "q_x12_in.dat";
..