Gohaku wrote:
>
> Hi everyone,
Hello,
> I was just curious if there is someway to add a variable when using qw.
> I am trying to do the following:
> #Testing qw
> $string_variable = "abc";
> @array = qw( string_literal1 string_literal2 $string_variable )
> print join(" ",@array);
> #Would li
gohaku <[EMAIL PROTECTED]> wrote:
: Hi everyone,
: I was just curious if there is someway to add a
: variable when using qw. I am trying to do the
: following:
[snip]
my $foo = 'bar';
my @arr = ( qw(foo bar), $foo );
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328
--
To