in reply to Variable not set properly in perl

It looks like you're trying to parse a SPICE netlist. Perhaps https://metacpan.org/pod/spice will help.
  • Comment on Re: Variable not set properly in perl (SPICE)