Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#705 closed defect (duplicate)

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:

Description

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 (2)

comment:1 Changed 5 years ago by Sewi

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

Already known as #691 and fixed.

comment:2 Changed 5 years ago by pwesolek

Sorry for duplicate and thanks.

Note: See TracTickets for help on using tickets.