in reply to how is = treated in argument?
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»
|
|---|