prints "a", then "b", then "zed". After the print "a", perl jumps right over the sub definition to the next plain statement.print "a"; sub doit { print "zed" } print "b"; &doit();
In reply to Re: Re: Re: can't write a variable to a file
by ysth
in thread can't write a variable to a file
by sabotodd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |