Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
A doubt would be tendancy toward disbelief. What you have is a question. $array = \(); doesn't create a reference to an empty array. You probably want $array = []; \() creates individual references to each entity inside of the (). Since there is no entity inside of your (), no reference is created. [] is the anonymous array constructor. That's what you're looking for. Dave In reply to Re: Understandig on Creating Empty array reference
by davido
|
|