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?
> -----Original 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 ;) > > -----Original Message----- > From: Bob H [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 20, 2002 16:57 > To: [EMAIL PROTECTED] > Subject: Expanding a variable > > > 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 > > > ********************************************************** > This message contains information that is confidential > and proprietary to FedEx Freight or its affiliates. > It is intended only for the recipient named and for > the express purpose(s) described therein. > Any other use is prohibited. > **************************************************************** > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
