sybperl-l Archive
Up Prev Next
From: "Raja Sambamurty" <rajags at hotmail dot com>
Subject: sybperl collapsing space columns
Date: Nov 13 1998 6:51PM
I am not sure if this was raised here before but I have a problem with
reading columns that have empty spaces into a (syb)perl array. For
example, I have
@A=$dfh->sql ("select * from tbl");
foreach $r (@A) { print @{$r} . "\n"; }
where tbl has 2 columns
colA colB
xx ' ' -- 4 spaces
and examining the array in the debugger gives me
1 'XX'
2 ' '
seems to me that sybperl is collapsing the multiple spaces into one. any
work arounds would be appreciated. thanks
Raja
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|