CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Frequently Asked Questions:
How can I use Perl interactively?



Jan 19, 2001, 11:46 AM

Post #1 of 1 (3360 views)
How can I use Perl interactively? Can't Post

(From the Perl FAQ)

How can I use Perl interactively?

The typical approach uses the Perl debugger, described in the perldebug(1) man page, on an ``empty'' program, like this:

perl -de 42

Now just type in any legal Perl code, and it will be immediately evaluated. You can also examine the symbol table, get stack backtraces, check variable values, set breakpoints, and other operations typically found in symbolic debuggers.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives