> >      print sub {
   > >      return <<SPAM;
   > >             Dear $_[0]
   > >             Your tuition is now due.  Please send in a payment of at least
   > >             $_[1].
   > >      SPAM
   > >      }
   > 
   > What does the second one mean, then?  Doesn't
   > 
   >   print sub { ... }
   > 
   > just print out a reference to an anonymous subroutine, for any value of
   > "..."?

That's right. That's why I said it didn't mean what he thought it meant.

In Perl 6 it might (one devoutly hopes) print out the equivalent source
code for the subroutine.

Damian

Reply via email to