Changeset 2be605a for perl/lib/BarnOwl
- Timestamp:
- Jul 18, 2009, 11:13:30 AM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 203dcda
- Parents:
- 96f7b07
- Location:
- perl/lib/BarnOwl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Editwin.pm
rc6ecf5c r2be605a 20 20 point_move replace_region get_region 21 21 save_excursion current_column point mark); 22 our %EXPORT_TAGS = (all => \@EXPORT_OK); 22 23 23 24 sub text_before_point { -
perl/lib/BarnOwl/Hooks.pm
reb6cedc r2be605a 5 5 6 6 use Carp; 7 use List::Util qw(first); 7 8 8 9 =head1 BarnOwl::Hooks … … 206 207 BarnOwl::command($command . " " . join(" ", @_)) 207 208 }; 208 } 209 if(defined(*{"${package}::EXPORT_OK"}{ARRAY}) 210 && !contains(*{"${package}::EXPORT_OK"}{ARRAY}, $symbol)) { 211 push @{*{"${package}::EXPORT_OK"}{ARRAY}}, $symbol; 212 } 213 } 214 } 215 216 sub contains { 217 my $list = shift; 218 my $what = shift; 219 return defined(first {$_ eq $what} @$list); 209 220 } 210 221
Note: See TracChangeset
for help on using the changeset viewer.