I've been trying to get the following script to work...


use Gimp;
use Term::ReadLine;

sub net
    $term = new Term::ReadLine;
    while( defined ($_ = $term->readline("Gimp> ")))
        $res = eval($_) . "\n";
        print("Error: $@"), next if $@;
        print "\n";

exit Gimp->main;

It's the same one from

I keep getting the error:
pg-shell: required callback 'net' not found (ERROR)

The perl server is definitely running.  This same error is logged in the
Perl Control Center.  I've been running my other gimp-perl scripts from
the command line with no problem.  Those scripts are the general
Gimp::Fu type.

What might be wrong?


Reply via email to