Help for this page

Select Code to Download


  1. or download this
    C:\>perl -MO=Deparse -e "print 'this' if $x"
    print 'this' if $x;
    -e syntax OK
    
  2. or download this
    C:\>perl -MO=Deparse -e "print 'this' if 0"
    '???';
    -e syntax OK
    
  3. or download this
    D:\>perl -MO=Deparse -e "sub MY_CONST(){'bla-bla'};$a=MY_CONST;print M
    +Y_CONST;"
    sub MY_CONST () {
    ...
    $a = 'bla-bla';
    print 'bla-bla';
    -e syntax OK
    
  4. or download this
    D:\>perl -MO=Deparse -e "sub MY_CONST{'bla-bla'};$a=MY_CONST;print MY_
    +CONST;"
    sub MY_CONST {
    ...
    $a = MY_CONST();
    print MY_CONST();
    -e syntax OK
    
  5. or download this
    C:\>perl -MO=Deparse -we "sub DEBUG{0}print 'this' if DEBUG;"
    sub DEBUG {
    ...
    }
    '???';
    -e syntax OK