Help for this page

Select Code to Download


  1. or download this
    BEGIN {
         package mod;
    ...
         }
    }
    print checkMod;
    
  2. or download this
    C:\Documents and Settings\Owner\Desktop>perl -MO=Deparse,  consttest.p
    +l & perl c
    onsttest.pl
    ...
    consttest.pl syntax OK
    goodMod
    C:\Documents and Settings\Owner\Desktop>
    
  3. or download this
    #!/usr/bin/perl -w
    #COMMENTED OUT
    #BEGIN {
    ...
         }
    }
    print checkMod;
    
  4. or download this
    C:\Documents and Settings\Owner\Desktop>perl -MO=Deparse,  consttest.p
    +l & perl c
    onsttest.pl
    ...
    consttest.pl syntax OK
    goodMod
    C:\Documents and Settings\Owner\Desktop>
    
  5. or download this
    #!/usr/bin/perl -w
    BEGIN {
    ...
         }
    }
    print checkMod;
    
  6. or download this
    C:\Documents and Settings\Owner\Desktop>perl -MO=Deparse,  consttest.p
    +l & perl c
    onsttest.pl
    ...
    consttest.pl syntax OK
    goodMod
    C:\Documents and Settings\Owner\Desktop>
    
  7. or download this
    C:\Documents and Settings\Owner\Desktop>cat consttest.pl & echo: & ech
    +o: & echo:
     & perl -MO=Deparse,  consttest.pl & perl consttest.pl
    ...
    consttest.pl syntax OK
    badMod
    C:\Documents and Settings\Owner\Desktop>
    
  8. or download this
    C:\Documents and Settings\Owner\Desktop>cat consttest.pl & echo: & ech
    +o: & echo:
     & perl -MO=Deparse,  consttest.pl & perl consttest.pl
    ...
    consttest.pl syntax OK
    goodMod
    C:\Documents and Settings\Owner\Desktop>