This returns: Can't use string ("") as a subroutine ref while "strict refs" in use at ./test.pl line 5. Any ideas? <cr> -Craig#!/bin/perl use strict; my $testsub; my $subref = $tests $testsub = sub { print $_; }
In reply to Using references to subroutines by firedoctor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |