Wow, thank you. That was really helpful! I also looked at your example. I use TinyPerl 5.8 because it is very small, and I don't do a lot with it. Lately I have been playing around with graphics, and I wrote a very long Perl script, which I would like to cut up into smaller pieces (maybe). For this purpose, I want to write a script that analyzes my script and creates a list of dependencies that shows which function depends on which other function. This is why I wanted to know if a multiline regex can exist.