Changeset 12394
- Timestamp:
- 08/29/10 11:36:20 (18 months ago)
- Location:
- trunk/Padre/lib/Padre
- Files:
-
- 3 edited
-
Constant.pm (modified) (3 diffs)
-
Document/Perl.pm (modified) (1 diff)
-
Locale.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Constant.pm
r12392 r12394 6 6 use strict; 7 7 use warnings; 8 use Carp ();9 use File::Path ();10 use File::Spec ();8 use Carp (); 9 use File::Path (); 10 use File::Spec (); 11 11 use File::HomeDir 0.91 (); 12 12 … … 142 142 # NOTE: The only reason this is here is that it is needed both during 143 143 # main configuration, and also during Padre::Startup. 144 use constant DEFAULT_SINGLEINSTANCE => ( 145 WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) 146 ) ? 1 : 0; 144 use constant DEFAULT_SINGLEINSTANCE => ( WIN32 and not( $ENV{HARNESS_ACTIVE} or $^P ) ) ? 1 : 0; 147 145 148 146 # It would be better if we had fully dynamic collision awareness support, … … 151 149 # of Padre use different ports, so they don't collide with each other. 152 150 use constant DEFAULT_SINGLEINSTANCE_PORT => ( 153 $ENV{PADRE_DEV} ? 4446 :154 $ENV{HARNESS_ACTIVE} ? 4445 :155 4444151 $ENV{PADRE_DEV} ? 4446 152 : $ENV{HARNESS_ACTIVE} ? 4445 153 : 4444 156 154 ); 157 155 -
trunk/Padre/lib/Padre/Document/Perl.pm
r12344 r12394 738 738 my @subs = $lines =~ /sub\s+(\w+)/g; 739 739 if ( $lines =~ /use MooseX::Declare;/ ) { 740 push @subs, ( $lines =~ /\bmethod\s+(\w+)/g);740 push @subs, ( $lines =~ /\bmethod\s+(\w+)/g ); 741 741 } 742 742 -
trunk/Padre/lib/Padre/Locale.pm
r12319 r12394 486 486 487 487 use constant system_rfc4646 => List::Util::first { 488 defined $RFC4646{$_}->{wxid} && 489 $RFC4646{$_}->{wxid} == WX; 490 } sort keys %RFC4646; 488 defined $RFC4646{$_}->{wxid} 489 && $RFC4646{$_}->{wxid} == WX; 490 } 491 sort keys %RFC4646; 491 492 492 493 use constant last_resort_rfc4646 => 'en-gb';
Note: See TracChangeset
for help on using the changeset viewer.
