The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

GSM::SMS::Spool

DESCRIPTION

Implements a simple filesystem spool mechanism to temporarily store incoming and outgoing SMS messages.

METHODS

add_to_spool( $msisdn, $pdu, $dir )

Add a message to the spool dir.

remove_from_spool( $file, $dir )

Remove a message from a spool dir.

create_spoolname( $msisdn, $dir )

Create the filename for a spool message. Internal function.

read_from_spool( $dir, $n )

Read n messages from the spool.

AUTHOR

Johan Van den Brande <johan@vandenbrande.com>