Help for this page

Select Code to Download


  1. or download this
    package apackage;
    my $test="my_variable_name";
    ...
    our $test;
    print "the value of \$my_variable_name = $my_variable_name\n";
    print "the value of the package variable = $apackage::my_variable_name
    +\n";
    
  2. or download this
    the value of $my_variable_name = the value I set
    the value of $my_variable_name = A new value
    the value of the package variable = the value I set
    
  3. or download this
    $/  =  q#(\w)#  ;  sub  sig { print scalar reverse  join  ' ',  @_  } 
    + sig
    map { s$\$/\$/$\$2\$1$g && $_ } split( ' ', ",erckha rlPe erthnoa stJu
    +" );