Changeset 2be605a
- 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
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl.pm
reb6cedc r2be605a 3 3 4 4 package BarnOwl; 5 6 use base qw(Exporter); 7 our @EXPORT_OK = qw(command getcurmsg getnumcols getidletime 8 zephyr_getsender zephyr_getrealm zephyr_zwrite 9 zephyr_stylestrip zephyr_smartstrip_user zephyr_getsubs 10 queue_message admin_message 11 start_question start_password start_edit_win 12 get_data_dir get_config_dir popless_text popless_ztext 13 error 14 create_style getnumcolors wordwrap 15 add_dispath remove_dispatch 16 new_command 17 new_variable_int new_variable_bool new_variable_string 18 quote); 19 our %EXPORT_TAGS = (all => \@EXPORT_OK); 5 20 6 21 BEGIN { -
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.