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 "$ref\t";
while (<$file>)
{
print "$ref\n";
if ($_ =~ /$ref/)
{
/([0-9]{9}|T[0-9]{8})/...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.