Hi,
Simple, make it simple...
does the job. Cheerssub x {return {a => 1, b=> 2, c => 3}} print @{x()}{a,b}
In reply to Re: How to get a slice of hash ref that a sub returns.
by TheHobbit
in thread How to get a slice of hash ref that a sub returns.
by dmitri
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |