You are here: PSPad forum > English discussion forum > How to find missing right bracket in Perl?

How to find missing right bracket in Perl?

#1 How to find missing right bracket in Perl?

Posted by: therium | Date: 2014-07-10 16:35 | IP: IP Logged

Perl 5.8.8 on Linux RHEL 5.5.56. PSPad 4.5.8 on Windows 7.

When Perl reports a missing right bracket, it often points to the last line of my code, which is not helpful. Does PSPad have any utils for finding missing right brackets, or indenting code in a consistent way so I can find oddly indented blocks?

Thank you.

Options: Reply | Quote | Up ^


#2 Re: How to find missing right bracket in Perl?

Posted by: pspad | Date: 2014-07-10 17:24 | IP: IP Logged

pspad has higlight matching bracket support or find matching bracket with shortcut. you can use it to find your missing bracket. there is no build in "all possible language error checker and interpreter" inside of the pspad. you have possibility to write such functionality using pspad scripts. you can use perl for it, if you install activeperl for windows scripting host

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR