Re: Firing a subroutine from within a here-document
From: Chris Spurgeon <[EMAIL PROTECTED]> > I have this code snippet... > print < > I think x is $x and y is $y. > &foobar > Did the subroutine fire? > > END_OF_STUFF > > > When I run it, the scalar variables $x and $y are interpreted in the print > statement, but the subrout
Firing a subroutine from within a here-document
I have this code snippet... $x = 1; $y = 2; sub foobar { print "You fired the subroutine!\n"; } print <