#!/usr/bin/perl -w use strict; my $ref=\&this; my $x=$ref->(); print "$x\n"; sub this {return "hi!"}
In reply to Re: variable reference to subroutine while "strict"
by FunkyMonk
in thread variable reference to subroutine while "strict"
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |