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

InitExample - This program provides examples of the initialization functions.

SYNOPSIS

        #include GoogleHack, so that it can be used

        use WebService::GoogleHack;

        $PATHCONFIGFILE="../Datafiles/initconfig.txt";

        #Create an Object of type WebService::GoogleHack
        
        $google = new WebService::GoogleHack;

        #Give the path to the configuration file to the config functions.

        $google->initConfig("$PATHCONFIGFILE");

DESCRIPTION

This program is intended to show the user how they can call the functions to initialize the Google-Hack key, WSDL file path, and the word lists. Two methods of initialization is shown.

1) Initialization through assigning values to the variables inside the package it self.

2) Initialization through a configuration file.

Initialization through a configuration file is the most efficient method, since, you would not need to type the Google-API key more than once.

Note* Make sure to use only one method of initialization. This is a use method 1) or 2) sort of condition.

It is preferred to use the Initialization method number 2.

AUTHOR

Pratheepan Raveendranathan, <rave0029@d.umn.edu>

Ted Pedersen, <tpederse@d.umn.edu>

BUGS

SEE ALSO

GoogleHack home page

Pratheepan Raveendranathan

Ted Pedersen

Google-Hack Maling List <google-hack-users@lists.sourceforge.net>

COPYRIGHT AND LICENSE

Copyright (c) 2003 by Pratheepan Raveendranathan, Ted Pedersen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

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 the GNU General Public License for more details.

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.