How To Enable Variable References in Perl While Using Strict

Published Date Author: , Posted August 4th, 2019 at 1:07:29pm

I wanted to call a sub-routine based on a variable in Perl, like this:

but it failed because of use strict:

To enable using a variable as a reference, simply specify that to Perl:

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.