NAME
xql_shell.pl - experiment with xql expressions over xml files until you get the right ones.
COPYRIGHT
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
LICENSE
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, USA.
DETAILS
MANIFEST: xql_shell.pl
PROJECT: meta
VERSION: 0.01
SYNOPSIS
xql_shell.pl [options]
DESCRIPTION
This program is a Readline terminal where you can experiment with Perls implementation of the XQL standard (XML::XQL). When run, this program provides you with history and prompt and allows you to evaluate XQL expressions the results of which are printed on the screen (this is very similar to various SQL interfaces to various database systems). You can change the XML input you are working on using the FILE command.
Auto completion is also starting to be worked into this.
Have fun!
OPTIONS
- help (type: bool, default: 0)
-
display help message
- pod (type: bool, default: 0)
-
display pod options snipplet
- man (type: bool, default: 0)
-
display manual page
- quit (type: bool, default: 0)
-
quit without doing anything
- gtk (type: bool, default: 0)
-
run a gtk ui to get the parameters
- license (type: bool, default: 0)
-
show license and exit
- copyright (type: bool, default: 0)
-
show copyright and exit
- description (type: bool, default: 0)
-
show description and exit
- history (type: bool, default: 0)
-
show history and exit
- opt_prompt (type: stri, default: XQL# )
-
what prompt to use ?
- opt_startup (type: bool, default: 1)
-
use startup file ?
- opt_startup_file (type: stri, default: [% home_dir %]/.xql_shell.rc)
-
what startup file ?
- opt_history (type: bool, default: 1)
-
use history ?
- opt_history_file (type: stri, default: [% home_dir %]/.xql_shell.hist)
-
what history file to use ?
- opt_verbose (type: bool, default: 1)
-
be verbose ?
no free arguments are allowed
BUGS
None.
AUTHOR
Name: Mark Veltzer
Email: mailto:veltzer@cpan.org
WWW: http://www.veltzer.org
CPAN id: VELTZER
HISTORY
0.00 MV teachers project
0.01 MV md5 issues
SEE ALSO
Meta::Lang::Xql::Shell(3), Meta::Template::Sub(3), Meta::Utils::Opts::Opts(3), Meta::Utils::System(3), strict(3)
TODO
-write the URL fetching utilities.
-use the XQL cache object here.
-enable to show history via HISTORY command (new command).
-replace the type of Opts::Opts argument hist_file with a type which means "either a new or an existing rewritable file".
-same for the startup file.