Miscellaneous¶
Command Line Utilities¶
Command line utilities are fairly basic at this stage. Installation
location will vary depening on your distribution - most will default to
/usr/local/bin, but may be installed elsewhere in some cases,
especially if you have nominated a PREFIX option when using CPAN.
wdapacheinit-
Runs the WebDyne initialization routines, which create needed directories, modify and create Apache .conf files etc.
wdcompile-
Usage:
wdcompile filename.psp. Will compile a .psp file and use Data::Dumper to display the WebDyne internal representation of the page tree structure. Useful as a troubleshooting tool to see how HTML::TreeBuilder has parsed your source file, and to show up any misplaced tags etc. wdrender-
Usage:
wdrender filename.psp. Will attempt to render the source file to screen using WebDyne. Can only do basic tasks - any advanced use (such as calls to the Apache request object) will fail. wddump-
Usage:
wddump filename. Where filename is a compiled WebDyne source file (usually in /var/webdyne/cache). Will dump out the saved data structure of the compiled file. wddebug-
Usage:
wddebug --status|--enable|--disable. Enable/disable debugging in the WebDyne code. webdyne.psgi-
Used to run WebDyne as a PSGI process- usually invoked by Plack via plackup or starman, but can be run directly for development purposes.
- wdlint
-
Run perl -c -w over code in __PERL__ sections on any .psp file to check for syntax errors.
Other files referenced by WebDyne¶
/etc/webdyne.conf.pl-
Used for storage of local constants that override WebDyne defaults. See the "WebDyne::Constant" section for details