Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Context: compile-time vs. run-time

by bart (Canon)
on Jan 25, 2009 at 22:02 UTC ( #738832=note: print w/replies, xml ) Need Help??


in reply to Re^2: Context: compile-time vs. run-time
in thread Context: compile-time vs. run-time

I think he means to modify the code to eval.
eval +($f > 0 ? '@a' : '$a' ) . ' = ("a", "b", "c")';