Help for this page

Select Code to Download


  1. or download this
    package FormValidator;
    use strict;
    ...
      $conf{$app_id} = $conf if defined $conf;
      return bless $conf{$app_id}, $class;
    }
    
  2. or download this
    #first application
    $ENV{APP_ID} = 'APP_1';
    ...
    my $obj_2 = FormValidator->new({foo=>'BAZ'},'APP_2');
    my obj = FormValidator->new();
    print $$obj{foo};#prints 'BAZ'