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

RE: Wierd error...

2002-08-16 Thread Nikola Janceski
it occured on this line in my code: die Something went wrong with '$RSH $OS-{$ext}{machine} $GATHER_INFO $ext $OS-{$ext}{dir}' command exit status $? if system( $RSH, -n, $OS-{$ext}{machine}, $GATHER_INFO $ext $OS-{$ext}{dir} ); this runs a script on another computer. -Original

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

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
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- From: Balint, Jess

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 Chas Owens
, 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 you are seeing is not an error; it is a warning. Warnings are good because they help you

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 the error:

RE: Wierd Error

2002-02-08 Thread 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 where you did something wrong

RE: Wierd Error

2002-02-08 Thread Balint, Jess
]' 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( $_| ) foreach( @{$freqidx{$_}} ); 117: print( \n ); 118

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
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 Fri, 8 Feb 2002, Balint, Jess

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 Chas Owens
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 where you did

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