view release on metacpan or search on metacpan
lib/Dir/Split.pm view on Meta::CPAN
my %opts = @_;
validate(@_, {
source => {
type => SCALAR,
callbacks => {
'directory exists' => sub { -d $_[0] }
},
},
target => {
type => SCALAR,
callbacks => {
'directory exists' => sub { -d $_[0] }
},
},
});
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Directory/Diff.pm view on Meta::CPAN
}
if ($verbose) {
print "Directory diff of $dir1 and $dir2 in progress ...\n";
}
if (! $callback_ref) {
croak "directory_diff: no callbacks supplied";
}
if (ref $callback_ref ne "HASH") {
croak "directory_diff: callback not hash reference";
}
my %ls_dir1 = ls_dir ($dir1, $verbose);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Directory/Transactional.pm view on Meta::CPAN
=head2 Transaction Management
=over 4
=item txn_do $code, %callbacks
Executes C<$code> within a transaction in an C<eval> block.
If any error is thrown the transaction will be rolled back. Otherwise the
transaction is comitted.
C<%callbacks> can contain entries for C<commit> and C<rollback>, which are
called when the appropriate action is taken.
=item txn_begin
Begin a new transaction. Can be called even if there is already a running
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Author/Plicease/Tests.pm view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/pod_spelling_system.t view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Author/Plicease/Tests.pm view on Meta::CPAN
TODO
filename
filenames
login
callback
callbacks
standalone
VMS
hostname
hostnames
TCP
view all matches for this distribution
view release on metacpan or search on metacpan
0.01000011 2010-11-03T15:01:43Z
- Returns a Zilla instance if no magic is performed.
- More documentation.
- Default behaviour on a death.
- Pass plugin to find_plugin callbacks
0.01000004 2010-11-03T08:28:59Z
- Refactored to actually work -_-
0.01000001 2010-11-03T05:02:07Z
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/App.pm view on Meta::CPAN
return (
[ "verbose|v", "log additional output" ],
[ "verbose-plugin|V=s@", "log additional output from some plugins only" ],
[ "lib-inc|I=s@", "additional \@INC dirs", {
callbacks => { 'always fine' => sub { unshift @INC, @{$_[0]}; } }
} ],
$self->SUPER::global_opt_spec,
);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Object/Role/Tryable.pm view on Meta::CPAN
try(Str | CodeRef $method) : Object
The try method takes a method name or coderef and returns a
L<Data::Object::Try> object with the current object passed as the invocant
which means that C<try> and C<finally> callbacks will receive that as the first
argument.
=over 4
=item try example
view all matches for this distribution
view release on metacpan or search on metacpan
examples/site/src/products/apache-modules.pod view on Meta::CPAN
appropriate and simply glue them together with the Apache API, keeping
the C<Apache::*> modules very small.
These modules will also serve as good examples, showing you where
modules can step in during a stage of a request with C<Perl*Handler>
callbacks. You'll also see how and when to use the Apache API
methods.
=head1 Playing Your Part
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dredd/Hooks/Methods.pm view on Meta::CPAN
user to define the hooks files that get run and their
functionality.
=head1 Creating a hook file
Hookfiles are plain .pl perl files containing some callbacks
that are run for specific events.
The hookfile should have a .pl file extention (required by the
dredd funtion and are provided as an argument to the dredd code:
lib/Dredd/Hooks/Methods.pm view on Meta::CPAN
beforeEach(sub {
my ($transaction) = @_;
});
See the each event below for the which events take which arguments.
If multiple callbacks are defined for the same event then these will
be run individually in the order defined. e.g:
beforeAll(sub {
... # Run First
});
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-Drupal-Module-Starter.t view on Meta::CPAN
ok(my $s = Drupal::Module::Starter->new('t/config.yaml'));
isa_ok($s, 'Drupal::Module::Starter');
ok(my $yaml = $s->sample_yaml);
ok(Load($yaml), "Yaml load and parse");
diag("todo: add a --pages option to auto-add menu callbacks and menu items");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dunce/Files.pm view on Meta::CPAN
usefully tied. :(
=pod
#'#
# Waiting on postamble callbacks in Function::Override.
=cut
=item B<opendir>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dyn/Callback.pm view on Meta::CPAN
...; # do something
return 'i';
},
5
);
Dyn::Call::dcArgPointer( $cvm, $cb ); # pass callbacks as pointers
Dyn::Call::dcCallVoid( $cvm, $ptr ); # your timer() function returns void
=head1 DESCRIPTION
Dyn::Callback is an interface to create callback objects that can be passed to
view all matches for this distribution
view release on metacpan or search on metacpan
lib/EAI/Common.pm view on Meta::CPAN
checkStartingCond ($task)
sendGeneralMail ($From, $To, $Cc, $Bcc, $Subject, $Type, $Data, $Encoding, $AttachType, $AttachFile)
=head1 DESCRIPTION
EAI::Common contains common used functions for L<EAI::Wrap>. This is for reading config files, setting up the config hierarchy, including commandline options, setting up logging, including callbacks for the log.config, setting the error subject for e...
=head2 API
=over
view all matches for this distribution
view release on metacpan or search on metacpan
libeav/include/eav.h view on Meta::CPAN
EAV_TLD_SPECIAL = 1 << 9,
EAV_TLD_RETIRED = 1 << 10
} EAV_TLD;
/* result information from callbacks */
typedef struct eav_result_s {
bool is_ipv4;
bool is_ipv6;
bool is_domain;
int rc;
view all matches for this distribution
view release on metacpan or search on metacpan
Ecore/Ecore.xs view on Meta::CPAN
* and event handlers. Events for file descriptor events are covered in
* @ref Ecore_FD_Handler_Group.
*
* Time functions are covered in @ref Ecore_Time_Group.
*
* There is also provision for callbacks for when the loop enters or
* exits an idle state. See @ref Idle_Group for more information.
*
* Functions are also provided for spawning child processes using fork.
* See @ref Ecore_Exe_Basic_Group and @ref Ecore_Exe_Signal_Group for
* more details.
view all matches for this distribution