11 our @ISA = qw(Exporter);
13 # Items to export into callers namespace by default. Note: do not export
14 # names by default without a very good reason. Use EXPORT_OK instead.
15 # Do not simply export all your public functions/methods/constants.
17 # This allows declaration use Amiga::Exec ':all';
18 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
20 our %EXPORT_TAGS = ( 'all' => [ qw(
24 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
29 our $VERSION = '0.02';
32 XSLoader::load('Amiga::Exec', $VERSION);
41 if(exists $params{'SignalMask'})
43 $signalmask = $params{'SignalMask'};
45 if(exists $params{'TimeOut'})
47 $timeout = $params{'TimeOut'};
50 my $result = Amiga::Exec::_Wait($signalmask,$timeout);
56 # Preloaded methods go here.
58 # Autoload methods go after =cut, and are processed by the autosplit program.
62 # Below is stub documentation for your module. You'd better edit it!
66 Amiga::Exec - Perl extension for low level amiga support
70 This a perl class / module to enables you to use various low level Amiga features such as waiting on an Exec signal
77 my $result = Amiga::ARexx->Wait('SignalMask' => $signalmask, 'TimeOut' => $timeoutinusecs); );
82 The interface to Exec in entirely encapsulated within the perl class, there
83 is no need to access the low level methods directly and they are not exported by default.
85 =head1 Amiga::ARexx METHODS
89 $signals = Amiga::Exec->Wait('SignalMask' => $signalmask,
90 'TimeOut' => $timeoutinusecs );
92 Wait on a signal set with optional timeout. The result ($signals) should be checked to
93 determine which signal was raised. It will be 0 for timeout.
97 The signal Exec signal mask
101 optional time out in microseconds.
107 =head2 Exportable constants
113 Andy Broad <andy@broad.ology.org.uk>
115 =head1 COPYRIGHT AND LICENSE
117 Copyright (C) 2013 by Andy Broad.