$arrayref seems okay assuming that $prod is an array ref it should be $prod->[0] * $prod->[1]
On Fri, Nov 16, 2001 at 11:52:49AM -0500, AMORE,JUAN (HP-Roseville,ex1) shaped the electrons to read: > > > > Hello, > > Do I have the below dereferencing correct. > > I a anonymous array and I'm trying to multiply > > the "1" & "2" using the arrow notation: > > > > $arrayref = [ 1,2, ['x','y','z']]; > > > > $prod -> [0] * [1]; > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]