Need your help again!

I have a file that contains several _begin and _end classes with
_begin is that start of the block and _end being the end of block.
Sometimes we miss either _begin  or _end. I am trying to write a
script that find every _begin should contain _end.   If for reasons
_end is missing, it should error out. Likewise, if  you have _end, you
should expect to have _begin in the  previous lines.  Can you help me
how to check this condition in my script?

thanks
pad


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to