Ticket #705 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

Can't extract sub when no other subs are defined

Reported by: pwesolek Owned by:
Priority: minor Milestone:
Component: editor Version: 0.48
Keywords: Cc:


Trying to use Refactor/Extract? Subrouting. When asked for the function to put extracted sub before, I select nothing, as my file has no subroutine yet and selection is not possible. Then no extraction is performed and

Use of uninitialized value $_[1] in regexp compilation at /home/jest/perl/perl-sites/padre/perl/lib/perl5/Padre/Document/Perl.pm line 202.

is printed to the console.

Padre 0.48 compiled from CPAN.
Perl 5.10.1.
Wx Version=(0.93) wxWidgets 2.8.10 unicode=(1)

Change History

comment:1 Changed 4 years ago by Sewi

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

Already known as #691 and fixed.

comment:2 Changed 4 years ago by pwesolek

Sorry for duplicate and thanks.

Note: See TracTickets for help on using tickets.