and I think that's not quite the right thing to be doing. According to perlapi, newRV_inc() takes an SV* arg, but AV_procs is an AV*.
An AV is a type of SV. That's indeed the way to create a reference to an array. You just need to cast.
newRV_noinc(MUTABLE_SV(av))
In reply to Re^2: odd line in windows
by ikegami
in thread odd line in windows
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |