Re: Variables in qw?

2004-06-20 Thread John W. Krahn
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

RE: Variables in qw?

2004-06-19 Thread Charles K. Clarkson
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