Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI(3)	      User Contributed Perl Documentation	   OpenXPKI(3)

Name
       OpenXPKI	- base module for all OpenXPKI core modules.

Exported functions
       Exported	function are function which can	be imported by every other
       object. These function are exported to enforce a	common behaviour of
       all OpenXPKI modules for	debugging and error handling.

       "use OpenXPKI::API qw (debug);"

   debug
       You should call the function in the following way:

       "$self->debug ("help: $help");"

       All other stuff is generated fully automatically	by the debug function.

Functions
   read_file
       Example:	$self->read_file($filename);

   write_file
       Example:	$self->write_file (FILENAME => $filename, CONTENT => $data);

       The method will raise an	exception if the file already exists unless
       the optional argument FORCE is set. In this case	the method will
       overwrite the specified file.

       Example:	$self->write_file (FILENAME => $filename, CONTENT => $data,
       FORCE =>	1);

   get_safe_tmpfile
       Example:	my $file = $self->get_tmpfile ({TMP => "/tmp"});

       This method creates a safe temporary file and return the	filename.

perl v5.24.1			  2017-07-03			   OpenXPKI(3)

Name | Exported functions | Functions

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help