Recent content by ninjakidd

  1. N

    Perl Question (programming code)?

    For some reason when it searches reads every other line.... i can't figure out why: #!/usr/local/bin/perl print "type word to search for: "; $line=<STDIN>; print "The file reads:\n"; open (MYFILE, 'test.txt'); while (<MYFILE>) { chomp; print "$_\n"; } close (MYFILE); open (MYFILE...
  2. N

    Perl Question (programming code)?

    For some reason when it searches reads every other line.... i can't figure out why: #!/usr/local/bin/perl print "type word to search for: "; $line=<STDIN>; print "The file reads:\n"; open (MYFILE, 'test.txt'); while (<MYFILE>) { chomp; print "$_\n"; } close (MYFILE); open (MYFILE...
  3. N

    Perl Question (programming code)?

    For some reason when it searches reads every other line.... i can't figure out why: #!/usr/local/bin/perl print "type word to search for: "; $line=<STDIN>; print "The file reads:\n"; open (MYFILE, 'test.txt'); while (<MYFILE>) { chomp; print "$_\n"; } close (MYFILE); open (MYFILE...
  4. N

    Perl Question (programming code)?

    For some reason when it searches reads every other line.... i can't figure out why: #!/usr/local/bin/perl print "type word to search for: "; $line=<STDIN>; print "The file reads:\n"; open (MYFILE, 'test.txt'); while (<MYFILE>) { chomp; print "$_\n"; } close (MYFILE); open (MYFILE...
  5. N

    Perl Question (programming code)?

    For some reason when it searches reads every other line.... i can't figure out why: #!/usr/local/bin/perl print "type word to search for: "; $line=<STDIN>; print "The file reads:\n"; open (MYFILE, 'test.txt'); while (<MYFILE>) { chomp; print "$_\n"; } close (MYFILE); open (MYFILE...
Back
Top