patchWeeChat - Patches: patch #7414, Add file name to perl script errors

 
 

patch #7414: Add file name to perl script errors

Submitted by:  Christian Ruppert <idl0r>
Submitted on:  Mon 13 Dec 2010 11:27:44 PM UTC  
 
Category:  plugins Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
IRC nick:  idl0r

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 24 Jan 2011 12:35:24 PM UTC, comment #1:

Use @_ instead of $_[0].
So:
" weechat::print(\"\", \"\tperl error[$fname]: @_\");"

Christian Ruppert <idl0r>
Mon 13 Dec 2010 11:27:44 PM UTC, original submission:

Added a new sub, sighandler to remove duplicate code.
Simplified the MULTIPLICITY ifdef.
Print the file name as well in case of an error.

Christian Ruppert <idl0r>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by idl0r (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-12-13 idl0r Attached File- => Added 0001-Print-the-file-name-as-well-in-case-of-an-error.patch, #22197

    Back to the top


    Powered by Savane 3.3