Discuss Interactive ways to learn Perl? in the Perl Programming forum on Dev Shed. Interactive ways to learn Perl? Perl Programming forum discussing coding in Perl, utilizing Perl modules, and other Perl-related topics. Perl, the Practical Extraction and Reporting Language, is the choice for many for parsing textual information.
Posts: 550
Time spent in forums: 5 Days 3 h 26 m 28 sec
Reputation Power: 406
You can try the Perl debugger. For example:
Code:
$ perl -de 42
Loading DB routines from perl5db.pl version 1.32
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(-e:1): 42
DB<1> print 4 + 5
9
DB<2> print "foo" if 4 == 5
DB<3> print "foo" if 4 == 2*2
foo
DB<4>
Posts: 550
Time spent in forums: 5 Days 3 h 26 m 28 sec
Reputation Power: 406
Not at all, the examples I gave are very basic, but you can try interactively almost anything you want, such as difficult syntax, hairy regular expressions, complicated data structures, etc.