summaryrefslogtreecommitdiff
path: root/src/perl/textui/TextUI.xs
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-12-09 21:42:51 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-12-09 21:42:51 +0000
commit0327b7d5dc067eb04f065ea165ceb7d5202c3316 (patch)
treed578bfc3b5a18185e5c847292a8c074c44a1db6f /src/perl/textui/TextUI.xs
parent7982a86420b8efdd162788df94d77a97d43c044e (diff)
downloadirssi-0327b7d5dc067eb04f065ea165ceb7d5202c3316.zip
Clean up script loading in general.
Don't leak local variables to eval'd code. Set filename/line number to get better error messages from perl. Use three-arg open and lexical filehandles to avoid surprises. Include error reason in message for unopenable scripts. Don't wrap script code in sub handler { } - this avoids spurious warnings and should at least allow __END__ to work properly. Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4961 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/textui/TextUI.xs')
0 files changed, 0 insertions, 0 deletions