Zoidberg::Commands
This module contains some usefull routines, these are _not_ core functions but are supplied to increase the interface.
By default commands start with an '_'.
Commands
- change_dir, cd $dir
-
Change your present working directory.
- back, forw
-
Go back/forward to a previous/next directory. Think like back and forward like in a browser.
- delete_object $zoidname
-
Delete object with name $zoidname. Be carefull -- this can delete core funtions.
- echo $string
-
Just print $string -- no fancy options.
- eval $code
-
Execute $code and return the exit status.
- exec $code
-
Like eval but quits zoid with exit status.
- hide $thing
-
Hide $thing from non-naked zoid namespace.
- load_object $zoidname $class
-
Load object of $class under name $zoidname. Objects should be true object-oriented (ie. they should have e routine 'new')
- print $code
-
Execute $code and print the return value.
- pwd
-
Print present working directory.
- quit, bye
-
Quit zoid -- same as Ctrl-d from Buffer.
- set_env $var = $value
-
Like export in most shells. Same as $ENV{$var} = $value.
- source $file
-
Executes commands from file like they where entered on prompt.
- unhide $thing
-
Opposite of "hide", add $thing to non-naked zoid namespace.