Just step through the file until you hit the line with $$$$, then read the next line:
while (<>) { next if !/^\${4}/; my $next_line = <>; # do something }
Update: Ignore this...Boris' solution below is probably closer to what you want.
brad
In reply to Re: $/ find a line
by bgreenlee
in thread $/ find a line
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |