GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CRYPT::LICENSE::NOTICE (3)

.ds Aq ’

NAME



  Crypt::License::Notice -- perl extension for License



CONTENTS

SYNOPSIS



  require Crypt::License::Notice;

  Crypt::License::Notice->check($input_hash)



DESCRIPTION

Crypt::License::Notice->check($input_data_ptr)


  $input_hash_ptr = {   # optional parameters
        ACTION        => default /usr/lib/sendmail -t -oi,
        TMPDIR        => default /tmp,
        INTERVALS     => default 5d,30d,60d,
        TO            => default license@bizsysetms.com,
  # mandatory parameters
        path          => path to LICENSE,
        expires       => seconds until expiration,
  };



The <B>checkB> routine will send a notice message at the requested or default intervals IF the temporary directory exists and is writeable AND if the <B>expiresB> parameter exists and is positive AND the LICENSE file exists and is readable. Substitutes can be made for the default values for ACTION, TMPDIR, TO, and INTERVALS. Valid suffixes for INTERVALS are w=weeks, d=days, h=hours, m=minutes, s=seconds (default if no suffix).

<B>checkB> returns an empty array on any error or if <B>expiresB> does not exist. It returns an array of the INTERVALS values in in seconds, highest to lowest, if a check is performed.

Note that the b<Notice.pm> hash can be combined with the hash used for the <B>License.pmB> module and that they share common variables <B>pathB> and <B>expiresB>. All other <B>License.pmB> hash keys are lower while <B>Notice.pmB> hash keys are upper case.

COPYRIGHT

COPYRIGHT and LICENSE



  Copyright 2002 Michael Robinton, BizSystems.



This module is free software; you can redistribute it and/or modify it under the terms of either:



  a) the GNU General Public License as published by the Free Software
  Foundation; either version 1, or (at your option) any later version,

  or

  b) the "Artistic License" which comes with this module.



This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.

You should have received a copy of the Artistic License with this module, in the file ARTISTIC. If not, I’ll be glad to provide one.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

AUTHOR

Michael Robinton, BizSystems <michael@bizsystems.com>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NOTICE (3) 2002-11-22

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.