Ticket #78 (closed defect: worksforme)

Opened 6 years ago

Last modified 5 years ago

No Perl Tidy menu

Reported by: zika01 Owned by:
Priority: major Milestone:
Component: editor Version:
Keywords: Cc:


After installation of Padre-Plugin-PerlTidy?-0.01, there is no 'Perl Tidy' or Plugin menu (Padre version 0.12)

Change History

comment:1 Changed 6 years ago by bricas

What operating system?

What menus do you see?

For reference, I have: File, Edit, View, Perl, Plugins, Window and Help. Under Plugins have a PerlTidy? menu as well.

comment:2 Changed 6 years ago by zika01

I am using Fedora9 with: Padre 0.12

perl v5.10.0 built for i386-linux-thread-multi,
wxGTK 2.8.7-2,
kernel ,

After installation of Padre and Padre-Plugin-PerlTidy?:

ls /usr/local/lib/perl5/site_perl/5.10.0/Padre

Config.pm Document Plugin Pod Project.pm Wx
DB.pm Document.pm PluginManager?.pm PPI.pm Util.pm Wx.pm

ls /usr/local/lib/perl5/site_perl/5.10.0/Padre/Plugin


which padre


If I start padre, I can see following menus:

File, Edit,View,Perl,Windows,Help

comment:3 Changed 5 years ago by zika01

  • Status changed from new to closed
  • Resolution set to worksforme

Quick solution was to comment line:

delete $plugins->{$file};

in function _load_plugin() of PluginManager?.pm.

First time this function is called for the module (value of $file), it loads the module and ads new element in hash %plugins. But, if it is called again for the same module, it deletes entry from %plugins.

The fact is that the function is called more then ones, and information about plugins is deleted.

Note: See TracTickets for help on using tickets.