Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $y = 'hello';
    
    print $x . $y; # outputs hello
    
  2. or download this
    # dualvar.pl
    package DualVar;
    ...
    # Outputs:
    # ok 1
    # ok 2