Help for this page

Select Code to Download


  1. or download this
    C:\PerlProjects\Monks>perl regextest.pl
    Start Basic Standard Services:
    ...
      Starting $name='OP Mover' $last=undef ($name=~/$last/i)=0
    Use of uninitialized value $last in regexp compilation at regextest.pl
    + line 39.
    Installation completed
    
  2. or download this
    sub startStandardServices {
        my $last = shift;
    ...
    sub startGeneralServices {
        my $last = shift;
        $last //='EVERYTHING';  #ADDED
    
  3. or download this
    
    C:\PerlProjects\Monks>perl regextest.pl
    ...
      Starting $name='OP Monitor' $last='EVERYTHING' ($name=~/$last/i)=0
      Starting $name='OP Mover' $last='EVERYTHING' ($name=~/$last/i)=0
    Installation completed