----- Original Message -----
From: "Gary Hawkins" <[EMAIL PROTECTED]>
> > my
> >
$line=qw(1,6.944,"methane",29.6576,70617.28,"*BB",8533.32,2381.0883,0.21);
> Bonk.  When using qw (quote words) I thought they had to be separated by
white
> space:

If there are more than one element, yes, it needs to be seperated by white
space.
Since there are no spaces, therefore qw sees this as one element --->
qw(1,6.944,"methane",29.6576,70617.28,"*BB",8533.32,2381.0883,0.21);

In a later post by Michael R.Wolf, one could use qq instead, however take
note that qq and qw function differently.

> $line=qw(1 6.944 "methane" 29.6576 70617.28 "*BB" 8533.32 2381.0883 0.21);

In this case, there are more than one element and only the last element will
be put into the basket of $line.

> .... which brings up a question, what if one of the elements is "propyl
alcohol"
> with quotes needed?

If one of your elements have spaces in between, then you can't use qw, you
may have to use @array = ('first element' , "propyl alcohol" , "\"propyl
alcohol\"" , 'and so on .... ');

Merry Christmas Everybody.
May I wish Everybody Good Health & Happiness !




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to