use VRML::VRML2;
$vrml = new VRML::VRML2;
$vrml->browser('Cosmo Player 2.0','Netscape');
$vrml->at('-15 0 20');
$vrml->box('5 3 1','yellow');
$vrml->back;
$vrml->print;
$vrml->save;
OR with the same result
use VRML::VRML2;
VRML::VRML2->new
->browser('Cosmo Player 2.0','Netscape')
->at('-15 0 20')->box('5 3 1','yellow')->back
->print->save;
VRML::Base
VRML::Color
http://www.gfz-potsdam.de/~palm/vrmlperl/ for a description of VRML-modules and how to obtain it.
Homepage http://www.gfz-potsdam.de/~palm/