Re: Wierd error...

2002-08-17 Thread drieux
On Friday, August 16, 2002, at 12:59 , Nikola Janceski wrote: [..] > I am a dumbass.. technically no, you are functioning as an 'integration engineer' > I was trying to run a solaris 2.6 compiled version of perl on solaris 2.5. this is one of those things that we all run into and tend to s

RE: Wierd error...

2002-08-16 Thread Nikola Janceski
I am a dumbass.. I was trying to run a solaris 2.6 compiled version of perl on solaris 2.5. DUh... > -Original Message- > From: Nikola Janceski [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 3:52 PM > To: Nikola Janceski; Beginners (E-mail) > Subject:

RE: Wierd error...

2002-08-16 Thread Nikola Janceski
runs a script on another computer. > -Original Message- > From: Nikola Janceski [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 16, 2002 3:49 PM > To: Beginners (E-mail) > Subject: Wierd error... > > > ld.so.1: //perl-5.6.1-unix/bin/perl: fatal: relocat

Wierd error...

2002-08-16 Thread Nikola Janceski
ld.so.1: //perl-5.6.1-unix/bin/perl: fatal: relocation error: file //perl-5.6.1-unix/bin/perl: symbol fopen64: referenced symbol not found I suddenly got this error when running a script that I had run an hour ago with no problem. I am on a shared env. but this is my private build of perl

RE: Wierd Error

2002-02-08 Thread Brett W. McCoy
On Fri, 8 Feb 2002, Balint, Jess wrote: > Only if "" counts as uninitialized. I would mind making "" be zero in that > case. Nope, "" counts as a value, one that returns boolean false, but still a value that will return true if you test for definedness. -- Brett

RE: Wierd Error

2002-02-08 Thread Chas Owens
om: Chas Owens [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 1:20 PM > To: Balint, Jess > Cc: '[EMAIL PROTECTED]' > Subject: Re: Wierd Error > > > Obviously you have been a good programmer and turend on warning (either > with -w or use warnings). What

Re: Wierd Error

2002-02-08 Thread Michael Fowler
On Fri, Feb 08, 2002 at 01:00:13PM -0500, Balint, Jess wrote: > Hello all. I am getting wierd errors on the following piece of code. Why are they weird warnings? They seem normal to me; you're trying to treat "" as a number, which is usually wrong, so Perl is warning you about it. > 95:

RE: Wierd Error

2002-02-08 Thread Balint, Jess
Only if "" counts as uninitialized. I would mind making "" be zero in that case. -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 2:09 PM To: Balint, Jess Cc: '[EMAIL PROTECTED]' Subject: RE: Wierd Error On

RE: Wierd Error

2002-02-08 Thread Brett W. McCoy
On Fri, 8 Feb 2002, Balint, Jess wrote: > Nope. Not possible. There are array refs stored in each $freqidx{$_}. It is > spitting out that error messages tons of times. Then what about the array elements in @{$freqidx{$_}} -- could uninitialized values be there? -- Brett

RE: Wierd Error

2002-02-08 Thread Balint, Jess
EMAIL PROTECTED]' Subject: RE: Wierd Error On Fri, 8 Feb 2002, Balint, Jess wrote: > That errors seems to be quieted. THank you. Now, there is this > > 114: foreach( sort( keys( %freqidx ) ) ) { > 115: print( "$_|" ); > 116: print( "$_|" )

RE: Wierd Error

2002-02-08 Thread Balint, Jess
PM To: Balint, Jess Cc: '[EMAIL PROTECTED]' Subject: Re: Wierd Error Obviously you have been a good programmer and turend on warning (either with -w or use warnings). What you are seeing is not an error; it is a warning. Warnings are good because they help you find places wher

RE: Wierd Error

2002-02-08 Thread Brett W. McCoy
On Fri, 8 Feb 2002, Balint, Jess wrote: > That errors seems to be quieted. THank you. Now, there is this > > 114: foreach( sort( keys( %freqidx ) ) ) { > 115: print( "$_|" ); > 116: print( "$_|" ) foreach( @{$freqidx{$_}} ); > 117: print( "\n" ); > 118: } > > > I get

RE: Wierd Error

2002-02-08 Thread Balint, Jess
ECTED]] Sent: Friday, February 08, 2002 1:36 PM To: Balint, Jess Cc: perl beginners Subject: RE: Wierd Error Looks like it. I ran perl -e '$i = 1; $j = undef; print $i + $j, "\n"' and got 1 then perl -we '$i = 1; $j = undef; print $i + $j, "\n"' an

RE: Wierd Error

2002-02-08 Thread Chas Owens
> -Original Message- > From: Chas Owens [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 1:20 PM > To: Balint, Jess > Cc: '[EMAIL PROTECTED]' > Subject: Re: Wierd Error > > > Obviously you have been a good programmer and turend on warning (e

Re: Wierd Error

2002-02-08 Thread Brett W. McCoy
On Fri, 8 Feb 2002, Balint, Jess wrote: > Hello all. I am getting wierd errors on the following piece of code. > > > 95:for( 0..$#vars ) { > 96:if( defined( $vars[$_] ) ) { > 97:$freqidx{$key}[$_] += $fields[$vars[$_]]; > 98:} > 99:

RE: Wierd Error

2002-02-08 Thread Balint, Jess
something like that work? -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 1:17 PM To: 'Balint, Jess' Subject: RE: Wierd Error set those that are "" to 0 when you want to do algebric operations. -Original Message

Re: Wierd Error

2002-02-08 Thread Chas Owens
Obviously you have been a good programmer and turend on warning (either with -w or use warnings). What you are seeing is not an error; it is a warning. Warnings are good because they help you find places where you did something wrong, but sometimes you do mean to do a dangerous thing. In those

RE: Wierd Error

2002-02-08 Thread Balint, Jess
Is there any way to correct this without removing warnings and strict? -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 1:14 PM To: 'Balint, Jess' Subject: RE: Wierd Error you have warnings and or use strict in yo

Wierd Error

2002-02-08 Thread Balint, Jess
Hello all. I am getting wierd errors on the following piece of code. > 95:for( 0..$#vars ) { 96:if( defined( $vars[$_] ) ) { 97:$freqidx{$key}[$_] += $fields[$vars[$_]]; 98:} 99:} @vars are all numberic values and some value