Once you get "block" successfully, you can pick your needed item with regex or split.
You can split with newline character, /\n/. http://perldoc.perl.org/functions/split.html
perlretut is very important regex introduction for me. I would like you also read it.
And you will be recommended to search cpan with keyword like LDIF. good luck.
In reply to Re^5: Help please, or Urgent help needed!
by remiah
in thread Help please, or Urgent help needed!
by anakin30
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |