Hi,
I am new to the perl scripting and need your help regarding one issue.
I have a piece in my perl script which looks something like below -
if ($rec{user} =~ /Major
|Minor
|Low
|High
/oxi )
{
print "Reject" . $_ . "\n";
next;
}
Now the list present in if loop is going to increase to 150 names so I want to place them in a file & read from a file instead. Also, $rec{user} can be something like "post//. new major thrwad" and it still has to be rejected. And also some of the names in this 150 names list can start with $ for e.g. $Major
What modifications will I have to do in my code for this to work?
Thanks in advance for the help.