Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

RE: RE: RE: Postfix, whole-object dereference operators

by japhy (Canon)
on Jul 21, 2000 at 19:38 UTC ( #23600=note: print w/replies, xml ) Need Help??

in reply to RE: RE: Postfix, whole-object dereference operators
in thread keys function question

The pragma would have to be very magical, since it's a waste to return a potentially LONG list, like an array or hash, and functions like each() and keys() and values() and push() and pop() (etc) require ACTUAL hashes or arrays in their first argument, not things RETURNING them.

As for %{$ref->[0]->{param}->1->{name}} being ugly, ADD WHITESPACE, and REMOVE ARROWS:
%{ $ref->[0]{param}[1]{name} }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2016-10-26 08:30 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (337 votes). Check out past polls.