Help for this page

Select Code to Download


  1. or download this
    sub getComment
    {
    ...
            open ($INFILE, 'templateHosts' ) or die "can't open file $!";
            my @hostsText = <$INFILE>;
            my $hostsLine = "";
    
  2. or download this
    open ($INFILE, '<', 'templateHosts')
    open ($INFILE, '< templateHosts')
    open $INFILE, '<templateHosts')