Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    sayHello();
    eval q{sub sayHello { print "Bonjour, le monde!\n"; }};
    sayHello();
    
  2. or download this
    Hello, world!
    Subroutine sayHello redefined at (eval 1) line 1.
    Bonjour, le monde!