Help for this page

Select Code to Download


  1. or download this
    perl -e 'use strict; use warnings; require MyModule; MyModule->import(
    +qw(frobnicate munge));  frobnicate; munge; '
    Bareword "frobnicate" not allowed while "strict subs" in use at -e lin
    +e 1.
    Bareword "munge" not allowed while "strict subs" in use at -e line 1.
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    perl -e 'use strict; use warnings; require MyModule; MyModule->import(
    +qw(frobnicate munge));  frobnicate(); munge(); '
    frobnicated!
    munged!
    
  3. or download this
    perl -e 'use strict; use warnings; require MyModule; MyModule->import(
    +qw(frobnicate munge));  MyModule->frobnicate; MyModule->munge; '
    frobnicated!
    munged!