Hi!
The following shall give you some hints:
$_ =~ /(\d*).*SWITCH\sFastEthernet(\d)/; # just an example on how +to extract some data my $id = $1; # get the iD my $switchNr = $2; # get the number of the s +witch
$CUST_NAME{$id} .= "\nSWITCH Fa$switchNr ..."; # append the output, al +ready formatted
HTH, Rata
In reply to Re: How to Extract Data from Text file 1 based on the Value from Text file 2
by Ratazong
in thread How to Extract Data from Text file 1 based on the Value from Text file 2
by roborat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |