Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Re: List or Scalar?

by hagen (Friar)
on Aug 27, 2003 at 08:20 UTC ( #286977=note: print w/ replies, xml ) Need Help??

in reply to Re: List or Scalar?
in thread List or Scalar?

Thanks shenme... in the actual program the value is in a reference (as returned by the Win32::OLE module) - and is deref'ed (as I understand it) by the @{$term} syntax - it's come from a (ref to an) array of refs.

What makes me think that this is correct is that the

 print "\$term is @{$term}\n"

prints the value I want. However when I use the same @{$term} syntax in the range operator it doesn't seem to deref correctly - or I'm making some other sort of mistake.

Comment on Re: Re: List or Scalar?
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://286977]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-11-28 00:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (735 votes), past polls