Re: sort multiple hash reference by value

2009-05-11 Thread Chas. Owens
On Tue, May 12, 2009 at 00:08, Rick wrote: snip > It's very weird. I did verify that it is numeric values that I am > comparing... also i am using warnings and strict as well and i get no > warnings. > can't figure out what's wrong. snip In cases like this it is best to try to reproduce your prob

Re: sort multiple hash reference by value

2009-05-11 Thread Rick
John W. Krahn wrote: Rick wrote: John W. Krahn wrote: Rick wrote: should this not work? Based upon the code presented, it looks like the code it correct. I am finding out that Length is *NOT* being sorted correctly numerically... Of course we don't know the data stored in %in_array and %

Re: Parameter Passing Not Working

2009-05-11 Thread Chas. Owens
On Mon, May 11, 2009 at 18:55, AndrewMcHorney wrote: > Hi > > I appreciate the assistance from a previous email message on writing > functions in Perl. The issue right now is that I am passing an array, a > number and a string to the function but it does not appear to be passed > successfully. I a

Parameter Passing Not Working

2009-05-11 Thread AndrewMcHorney
Hi I appreciate the assistance from a previous email message on writing functions in Perl. The issue right now is that I am passing an array, a number and a string to the function but it does not appear to be passed successfully. I am sure the error is quite simple. The function in question i

Re: Function Assistance Needed

2009-05-11 Thread Randal L. Schwartz
> "AndrewMcHorney" == AndrewMcHorney writes: AndrewMcHorney> I need a little assistance in creating a function for my perl AndrewMcHorney> code. The function will pass in an array of strings and an AndrewMcHorney> index. The function will build a single string using the 1st AndrewMcHorney> s

Re: Reading/writing binary

2009-05-11 Thread Chas. Owens
On Mon, May 11, 2009 at 04:50, Jenda Krynicky wrote: > From: Raymond Wan >> On Fri, May 8, 2009 at 8:58 PM, John W. Krahn wrote: >> >> > >> > That depends on the operating system you are using.  I use Linux so there >> > is no difference between "binary" and "text", except for those specific >>

Re: Reading/writing binary

2009-05-11 Thread Jenda Krynicky
From: Raymond Wan > On Fri, May 8, 2009 at 8:58 PM, John W. Krahn wrote: > > > > > That depends on the operating system you are using. I use Linux so there > > is no difference between "binary" and "text", except for those specific > > applications that can't handle "binary" data. If you are o

Re: Reading/writing binary

2009-05-11 Thread Raymond Wan
Hi John, On Fri, May 8, 2009 at 8:58 PM, John W. Krahn wrote: > > That depends on the operating system you are using. I use Linux so there > is no difference between "binary" and "text", except for those specific > applications that can't handle "binary" data. If you are on a system like > DO