On Mon, 6 May 2002 08:39:37 +1000
"Michael Blackmore" <[EMAIL PROTECTED]> wrote:
> ....
> my ($col1,$col2,.....) = split(/,/);
> $col1 = undef unless($col1);
> ....
> 
> I realise that this is not strictly a DBI problem, really 'split'
> should return undef's, shouldn't it?  Anyway I wondered if anybody

No - split returned what you asked for - an empty string.

See perldoc -f split.

Waldemar

Reply via email to