Recently, I've noticed a few places where anonymous subroutines have been declared for no apparent reason:
my $function = sub {
# ...do stuff...
};
# Call the sub
$function->('pa...
There may be more professional solutions, but if I'm only watching one variable, or just a few variables, and I don't wish to interrupt the process, what I have sometimes done is to print that variabl...
Reap: duplicate of Re^2: how watch a variable (Lag-gasm)
Yes it just occurred to me that overload could help watching the result of an operation without XS
[HTTPs://metacpan.org/pod/overl...
Reap: duplicate of Re^2: how watch a variable (Lag-gasm)
Yes it just occurred to me that overload could help watching the result of an operation without XS
[HTTPs://metacpan.org/pod/overl...