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: pluginsPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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].
" 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 File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 13 Dec 2010 11:27:44 PM UTCidl0rAttached File-=>Added 0001-Print-the-file-name-as-well-in-case-of-an-error.patch, #22197

    Back to the top

    Powered by Savane 3.1-cleanup1