in reply to qw with comma delimiter
You can't change the delimiter, so if it doesn't do what you want you should use something that does.my @array = ('$one', '@two', '%three'); my @qw_array = ($one @two %three);
The above code is just a demonstration of how to use join and split, but you really should use perldoc -f join and perldoc -f split for more information.my @array = qw(a b c d); my $temp_string = join ',' , @array; my @new_array = split ',' , $temp_string;
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: qw with comma delimiter
by jacques (Priest) on Jul 26, 2003 at 05:04 UTC |