in reply to
Print multiple value from file
You are using twice the same regex
($_= ~/ssId=\s*?(\S+)/)
, so you get twice the same result (ssId). Change your second regex to something matching your subSnpClass.
Comment on
Re: Print multiple value from file
Download
Code
In Section
Seekers of Perl Wisdom