in reply to Re^2: What is (a => b => c) ?
in thread What is (a => b => c) ?
Not if you declare/define it first:
orno strict; sub c { print "see?\n" } @x = ( a => b => c );
But not:no strict; sub c; @x = ( a => b => c ); sub c { print "see?\n" }
no strict; @x = ( a => b => c ); sub c { print "see?\n" }
UPDATE: corrected 2nd example (used &c; which called the sub ... oops)
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What is (a => b => c) ?
by Schmunzie (Beadle) on Mar 27, 2015 at 16:19 UTC |