In answer to the Update:
so chuck the whole current file into the __DATA__ section and:
local $/ = 'if ('; while (<DATA>) { chomp; next if ! length; next unless /eq '(\w+)'/; my $site = $1; push @{$site_data{$site}}, /'(\d+[^']+)'/gm; }
to parse it.
In reply to Re: Accessing Large Else-If Condition in a Separate Files
by GrandFather
in thread Accessing Large Else-If Condition in a Separate Files
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |