Help for this page

Select Code to Download


  1. or download this
     perl -MO=Xref tst.pl |grep foo
    tst.pl syntax OK
          &foo              s1
          &foo              &1, &4
      Subroutine foo
    
  2. or download this
    $ perl -MO=Xref,-r tst.pl |grep foo
    tst.pl           (definitions)     1 main            & foo            
    +  subdef
    ...
     
    sub foo { print }
    foo();