in reply to Re: Anonymous Data Structures
in thread Anonymous Data Structures

You could just as easily return an anonymous hash:

sub foo{ return ( bar => 'baz' ); }

That is not a hash, but a list (in fact all subs only return lists) suitable for being assigned to a hash, period.

Replies are listed 'Best First'.
Re^3: Anonymous Data Structures
by agianni (Hermit) on Jun 01, 2007 at 18:16 UTC
    Fair enough. My point was simply that it needn't be a reference to be an anonymous data structure.
    perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79 +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'