[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 8:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Expanding a variable
print $file . \n;
Puts to STDOUT (Screen) what is in $file.
Wags ;)
-Original Message-
From: Bob H [mailto:[EMAIL PROTECTED]]
Sent: Friday
Message-
From: Wagner, David --- Senior Programmer Analyst --- WGO
[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 20, 2002 8:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Expanding a variable
print $file . \n;
Puts to STDOUT (Screen) what is in $file.
Wags ;)
-
On Sun, Dec 22, 2002 at 04:33:41PM -0500, Bob H wrote:
I can actually do that. : )
What I need to do is take the contents of the $file variable expand it
and then run some system() commands using it. The print only shows to
console. Can I do anything with that?
What do you mean, expand it?
If I have a variable that I used to a regex to populate how can I now
expand that variable?
Ex:
I have a variable $file that I use a regex to match a file in a
directory and put that match into $file. Now I want to get that info out
of the $file variable and use it in a system() call.
Bob