Don't ask to ask, just ask | |
PerlMonks |
Re: Can't do dereference when running code inserted inside regexby AlexP (Pilgrim) |
on Jan 16, 2022 at 07:27 UTC ( [id://11140493]=note: print w/replies, xml ) | Need Help?? |
I see error in your code:
You are trying to assign @var the reference to an array (not an array). You should:
Please, don't forget to use warnings pragma. It helps with these kinds of mistakes.
In Section
Seekers of Perl Wisdom
|
|