RE: $_ vs @_ (was: Using a dereferenced reference to an array)

2003-03-03 Thread wiggins
On Mon, 3 Mar 2003 06:01:01 -0800 (PST), Rob Richardson <[EMAIL PROTECTED]> wrote: > I am now expanding one of my favorite sayings: > "C++ gives you thousands of ways to shoot yourself in the foot. Visual > Basic hides all the ways it shoots you

$_ vs @_ (was: Using a dereferenced reference to an array)

2003-03-03 Thread Rob Richardson
Greetings! A few days back, I posted a message in which I asked for help figuring out why Perl was reporting that an array had one element when printing the array showed all 17 elements that it was supposed to have. I took a closer look at my entire application last night. I thought I had been r

Re: Using a dereferenced reference to an array

2003-02-27 Thread Jenda Krynicky
From: Rob Richardson <[EMAIL PROTECTED]> > I have a class that contains a member that is an array. I have a > method of the class that gets me a reference to the array. I can > print out the contents of the array. But I can't find out how many > items are in it! What is going on here? There's

Using a dereferenced reference to an array

2003-02-26 Thread Rob Richardson
Greetings! I have a class that contains a member that is an array. I have a method of the class that gets me a reference to the array. I can print out the contents of the array. But I can't find out how many items are in it! What is going on here? There's something simple I'm missing. Here's