If Perl thinks there is something wrong with the syntax, Perl tells you so. What did Perl tell you and what did you do about it? Maybe you want to just run your code using the diagnostics pragma?
I used perl -Mdiagnostics -le "if /\[Alias\]/../^\s*\s$/ { push (@alias, $_); }" and found the message pretty to the point.
In reply to Re: need help in extracting lines
by Corion
in thread need help in extracting lines
by stanleysj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |