- or download this
while (my @X=<CFGFILE>)
{
...
print "$machine, $default, $type, $connect";
}
}
- or download this
while (<CFGFILE>) { # read each line in turn to $_
next unless /^\w/i;
...
print "$machine, $default, $type, $connect";
}
}
- or download this
#!/usr/bin/perl
use strict;
...
__DATA__
printserver1,default,cups,cups
printserver2,no,aix,rsh
- or download this
printserver1, default, cups, cups
printserver2, no, aix, rsh
...
'
}
};