Manpages

Manpage of SCM2PERL

SCM2PERL

Section: User Contributed Perl Documentation (1)
Updated: 2001-10-10
Index
Return to Main Contents
 

NAME

scm2perl - convert script-fu to perl  

SYNOPSIS

 scm2perl filename.scm...


 

DESCRIPTION

This program tries to convert Script-Fu (Scheme) scripts written for The Gimp into a Perl script.

Don't expect too much from this version. To run it, you need the Parse::RecDescent module from CPAN.  

CONVERSION TIPS

 

PDB functions returning arrays

Perl knows the length of arrays, Script-Fu doesn't. Functions returning single arrays return them as a normal perl array, Functions returning more then one array return it as an array-ref. Script-Fu (and the converted script) expect to get a length argument and then the arguments. Each occurrence (common ones are "gimp_list_images" or "gimp_image_get_layers") must be fixed by hand.  

AUTHOR

Marc Lehmann <pcg@goof.com>  

SEE ALSO

gimp(1), Gimp.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONVERSION TIPS
PDB functions returning arrays
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 19:56:42 GMT, April 16, 2024