KBob, I've never heard of TCL, but it doesn't strike any interest.
I'm thinking of going with perl, at least to start. Right away I need to script the
Gimp for a project. I see I have three choices: 1) learn script-fu, 2) learn perl-fu,
3) write a whole plug-in with gimp-python.
I don't really need a whole plugin, as the functionality is already in -fu, I just
need to automate basic functions. Script-fu looks pretty nasty. Perl-fu I can at
least use the perl- for future admin tasks.
Thanks for the answers and discussion!
Cory
On Wed, May 09, 2001 at 12:25:01AM -0700, Bob Miller wrote:
> Jacob Meuser wrote:
>
> > No variables in perl?!?!?!?
>
> I think Rob meant that Perl subroutines don't have named arguments.
> Whereas in (non-ANSI) C you would write:
>
> myfunc(first, second, third)
> { /* ... */ }
>
> In Perl you have to do the this.
>
> sub myfunc($$$) {
> my ($first, $second, $third) = @_;
> # ...
> }
>
> Or, you can avoid the second line and use $_[0] or shift to access
> $first without naming it.
>
> My opinion: skipping the line that names the arguments is just ugly.
> When other people do it, they make their code hard to read. (I very
> rarely do it.)
>
> > One other thing to note - perl is standard on almost every Unix-like
> > OS. Python is not, at least not yet. I would venture to say that mod_perl
> > is in wider use than mod_python, if you're looking for web usage.
>
> I think I read that mod_php is the most popular Apache extension.
>
> > The interactive interpreter in python is kewl though. It would be nice
> > to have a kind of "perlsh" ... maybe for perl 6 ...
>
> Try "perl -de0".
>
> --
> Bob Miller K<bob>
> kbobsoft software consulting
> http://kbobsoft.com [EMAIL PROTECTED]