Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    our $var = 1;
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "\$var is $var\n";
    do "file1.pl";
    print "\$var now is $var\n";
    
  3. or download this
    poletti@flaviox ~/sviluppo/perl> perl file2.pl
    $var is 10
    $var now is 1