LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-05-2004, 09:46 AM   #1
linjia
LQ Newbie
 
Registered: Sep 2004
Location: China
Distribution: Debian
Posts: 19

Rep: Reputation: 0
how can I run my perl scripts in emacs


In cper-mode of emacs,there is an item in the menu called debugger,which can debug the perl scripts being edited,but no acceration key is defined.How can I
define a the key?it's not convinient to use menu in text mode.
 
Old 12-05-2004, 10:30 AM   #2
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 33
Add this into your ~/.emacs
This ensures binding between F8 key and cperl Debugger function
Code:
(add-hook 'cperl-mode-hook
               (function (lambda ()
                            (local-set-key (kbd "<f8>") 'cperl-db)
                            )))
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Emacs module for better perl coding rose_bud4201 Linux - Software 3 04-27-2005 02:39 PM
scripting to run perl scripts newbie_m Linux - Newbie 1 01-12-2005 11:33 AM
my perl scripts wont run need help unixmad Linux - Software 4 09-14-2004 08:04 PM
upgraded webmin - perl scripts wont run jimi_j Linux - Software 0 05-25-2004 05:47 PM
How to Run perl scripts using bash Boudewijn Linux - Software 2 11-26-2003 03:37 AM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration