Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jowatkins
  • Content: Threads
  • Order by date
  1. jowatkins

    problem reading file in while loop

    hi, I'm a complete newbie at perl and was hoping somebody might be able to help me a problem I'm having. Here is the code: sub get_partnumber { my ($file, $ref) = @_; my $pn; print &quot;$ref\t&quot;; while (<$file>) { print &quot;$ref\n&quot;; if ($_ =~ /$ref/) { /([0-9]{9}|T[0-9]{8})/...

Part and Inventory Search

Back
Top