Ignore:
Timestamp:
2005-07-19T16:27:51+12:00 (19 years ago)
Author:
kjdon
Message:

added 'use strict' to all plugins, and made modifications (mostly adding 'my') to make them compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/XMLPlug.pm

    r10218 r10254  
    2828use BasPlug;
    2929use doc;
    30 #$%^
    31 use parse2;
     30use strict;
     31no strict 'refs'; # allow filehandles to be variables and viceversa
    3232
    3333sub BEGIN {
     
    106106    if (open(XMLIN,"<$filename")) {
    107107
    108         $untransformed_xml = "";
     108        my $untransformed_xml = "";
    109109        while (defined (my $line = <XMLIN>)) {
    110110
     
    138138    }
    139139    else {
    140     print $outhandle "Error: Unable to run command $xsl_cmd\n";
     140    print $outhandle "Error: Unable to run command $xslt_cmd\n";
    141141    print $outhandle "       $!\n";
    142142    }
Note: See TracChangeset for help on using the changeset viewer.