package GSM::SMS::OTA::VCard; use GSM::SMS::OTA::OTA; # Generic package for VCARDS # experimental! require Exporter; @ISA = qw(Exporter); @EXPORT = qw( OTAVcard_makestream OTAVcard_PORT ); $VERSION = '0.1'; use constant OTAVcard_PORT => 9204; sub OTAVcard_makestream { my ($lastname, $firstname, $phone) = @_; $lastname = encode( $lastname ); $firstname = encode( $firstname); $phone = encode( $phone ); $vcard=<