Click to See Complete Forum and Search --> : Perl Question


new_dude
12-10-2000, 03:25 AM
Good evening all,

I have a question about the Perl Development tool that comes with Linux-Mandrake7.1. This may seem like a stupid question but nonetheless I have to ask it. From X-Windows I am presented with window that has the <DB1> or something like that. What is this and can I program Perl in there? I am a total newbie to all this and I know little C++ and would like to try and teach myself Perl. Whenever I try (in the Perl Window) to move the cursor down to the next line it executes the command and moves to <DB2>. I have no clue what is going on! Someone please give me the goods on this or direct me in the right path.

Thanks

P.S. I really hope that made sense

tompoe
12-10-2000, 09:46 AM
Hello: DB<1> is usually associated with debugging. This can be displayed for example, if you enter:
perl -d some_file.pl and press the enter key. More info by simply entering "perl debugging" or some similar keywords in the search box for Google.com or other search engine. Good luck, and happy holidays. Tom

klamath
12-10-2000, 10:11 AM
I think you're inside the Perl debugger, although I don't know why you'd want to be there. To get a summary of how to use it, type 'h', or look at `perldoc perldebug`

The debugger isn't for learning Perl (it's mostly for people who are Perl gurus already - I've never needed to use it, although I probably should). If you'd like to learn how to program Perl, I'd strongly recommend getting either "Learning Perl" or "Programming Perl, 3rd Edition" from O'Reilly. "Learning Perl" is for newbies, and "Programming Perl" is practically the Perl bible. It's a very handy book to have if you're doing any Perl development.

(BTW, this should probably have been posted to the Programming forum).

------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Better Bulletin Board (http://bbb.sourceforge.net)