Config-LotusNotes
view release on metacpan or search on metacpan
lib/Config/LotusNotes/Configuration.pm view on Meta::CPAN
=item notesini();
Returns the full path (including file name) of the F<notes.ini> file.
=item version();
Returns the Lotus Notes version number, e.g. 7.0 or 5.0.13a.
=item is_client();
Returns true if the configuration belongs to a client (workstation) installation.
=item is_server();
Returns true if the configuration belongs to a server installation.
=item install_scope();
Returns "just for me" or "all users" depending on the chosen setup type.
=back
=head1 METHODS
=over 4
=item new(path => $path);
Constructor, returns a C<Config::LotusNotes::Configuration> object
representing the installation at the specified path.
The recommended way to create C<Config::LotusNotes::Configuration>
objects is to use the
L<default_configuration()|Config::LotusNotes/item_default_configuration> and
L<all_configurations()|Config::LotusNotes/item_default_configuration>
methods of L<Config::LotusNotes|Config::LotusNotes>.
=item get_environment_value($item_name);
Gets the value of the parameter named C<$item_name> from F<notes.ini>.
If there is no such parameter, C<undef> is returned.
In order to access values that were written by Lotus Notes via the environment
functions, prefix the parameter name with "$".
=item set_environment_value($item_name, $value);
Writes a parameter/value pair to F<notes.ini>.
If the entry exists, it will be updated with the new value.
If the value is C<undef>, the whole entry is removed.
If you want the parameter to be accessible to Lotus Notes via the environment
functions, prefix its name with "$".
If you write to a F<notes.ini> file with this function, its entries will
be saved in random order.
=back
=head1 BUGS AND LIMITATIONS
See L<Config::LotusNotes/"BUGS AND LIMITATIONS">.
=head1 EXAMPLES
See L<Config::LotusNotes/EXAMPLES>.
=head1 LICENCE AND COPYRIGHT
Copyright (C) 2006 HS - Hamburger Software GmbH & Co. KG.
All rights reserved.
This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
This library is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of
merchantibility or fitness for a particular purpose.
=head1 AUTOR
Harald Albers, albers@cpan.org
See the F<Changes> file for the change history.
=cut
( run in 0.787 second using v1.01-cache-2.11-cpan-39bf76dae61 )