Yeam it's pretty vague. But maybe he needs concentating: $var = "boo!"; $var .= "eek!"; $var .= "\n"; $var .= "were you scared?"; print $var;
Which will print something like: boo! eek! were you scared? -------------- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED]
From: Michael Kelly <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Expanding a variable Date: Sun, 22 Dec 2002 14:55:41 -0800 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"? Backticks interpolate, so this might be something like what you mean: my $file = 'thefile'; my $result = `cat $file`; print $result; HTH, -- Michael [EMAIL PROTECTED] http://www.jedimike.net/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
