Liam Arbetman wrote:
> while (){
> chomp;
> @line=split/\|/;
> $arrsize=0;
> if($_ eq "|"){
> $arrsize=0;
> }else {
>[EMAIL PROTECTED];
>}
>print $arrsize;
> if($arrsize<1)
>
> i am reading a txt file where data elements are separated by "|". some lines are
> only contain a
Eran Kaufman wrote:
I had this problem in the past and after doing some research I've
found there's a problem with Oracle DBD in ActivePerl version 5.8 and
up, due to license issues.
Although it's possible to find suitable Oracle DBD module for this
version, the simplest way is to install ActivePe
Jutu Subramanian, Srinivasan (Cognizant) wrote:
Thanks for your reply. It successfully removed and installed the Math::Pari. But,
Again getting the same error? I am really wondering why it is not working for me. Or I
need to install from starting. Is there any problem with the installation proces
One thing that I would suggest. If you are getting data
from a source that uses CRLF for its line endings while
running your Perl script on a machine that just uses LF
for line endings (whew!), then you may need to add one
line after the "chomp" to strip off the CR:
while (){
chomp;
s/\r
I think somewhere your statement is returning NULL or otherwise empty
values. I ran into something very similar to this myself. Within your
loop, insert:
"no warnings 'uninitialized';"
to quiet such warnings. This should do the trick.
Liam Arbetman wrote:
while (){
chomp;
@line=split/\|/;
$ar