Debuggex can turn PCRE regular expressions into railroad diagrams. It’s missing several advanced Perl features, but it’s good for the basic patterns you’ll create in Learning Perl:

Debuggex can turn PCRE regular expressions into railroad diagrams. It’s missing several advanced Perl features, but it’s good for the basic patterns you’ll create in Learning Perl: