Hi,
following situation I ran into -
my $values=(value1 "value two" value3 "value four)
How can I split to receive following result
value1
value two
value3
value four
to be able to compute them.
I had in my script
my @lines = split(/ /,$values);
foreach (@values){
....
}
but this fails of course
Thanks - Dietmar
following situation I ran into -
my $values=(value1 "value two" value3 "value four)
How can I split to receive following result
value1
value two
value3
value four
to be able to compute them.
I had in my script
my @lines = split(/ /,$values);
foreach (@values){
....
}
but this fails of course
Thanks - Dietmar