In the advice you've already been given a major issue was to figure out what you really want to do.
I guess. Perhaps you want actually something like this?
#!/usr/bin/env perl use strict; use warnings; use Data::Dump; my $result = func( v => 33 ); dd $result; sub func { my %args = @_; return \%args; } __END__ { v => 33 }
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: how is = treated in argument?
by karlgoethebier
in thread how is = treated in argument?
by cch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |