> I'm just starting Perl, since... a few hours ago... You'll be interested in:
www.perl.com www.perl.org www.perldoc.com > > I have a text files to analyze. Each line looks like : > "a", "bcd, efg, h", "c" > > I found that $l=readline($filehandle) gives me the > content of the current line. $line = <$filehandle> is a little clearer. Readline is rarely used, AFAIK. > Now, how can I explode the line. I'd like: > $val[0]="a", $val[1]="bcd, efg, h", $val[2]="c" (or > equivalent). C4 or TNT? > > I cannot figure out how to use split when the delimiter > is the double quote. @var = split /\"/, $line; Jonathan Paton __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]