Hey Gerald!

You made a small mistake in the documentation:

EMBPERL_INPUT_FUNC

EXAMPLE for an input function which does just the same as Embperl


 sub Input

    {
    my ($r, $in, $mtime) = @_ ;

    open F, $r -> filename or return NOT_FOUND ;
    local $\ = undef ;
    $$in = <F> ;
    close F ;

    $$mtime = -M $r -> filename ;
    
    return 0 ;
    }
See also ProxyInput below, for an input function which comes with Embperl. 

You used $\ as input separator. Note this is output separator. The right form
is:

local $/ = undef;

Have a nice day

ps - when will you release 1.3 bugsfixed version?

Regards

  Lukas Zapletal [[EMAIL PROTECTED]]
  web programmer
  Bach systems Ltd., Czech Republic

  ----------- PGP FINGERPRINT ------------
  4BA4ECA3EDE9608558646ABBA14259E3459FA0B4
  --------------- COOKIE -----------------
  Unix: Where /sbin/init is still Job 1.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to