You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Kaare Rasmussen <ka...@kakidata.dk> on 2003/05/05 19:25:42 UTC

sub error

Did I ever report this error:

This sub will display nothing:

[$ sub showData $]
[-
  ($type, $data) = @_;
  $escmode = 1;
  print OUT "$data";
-]
[$ endsub $]

This one will print out the desired data:

[$ sub showData $]
[++]
[-
  ($type, $data) = @_;
  $escmode = 1;
  print OUT "$data";
-]
[$ endsub $]

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               Åben 12.00-18.00        Email: kar@kakidata.dk
2000 Frederiksberg        Lørdag 12.00-16.00       Web:      www.suse.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: sub error

Posted by Gerald Richter <ri...@ecos.de>.

> Did I ever report this error:
>

Which version of Embperl?

If 2.x, could you try if it is fixed in 2.0b9. I have done some adjustments
on subs

Gerald


> This sub will display nothing:
>
> [$ sub showData $]
> [-
>   ($type, $data) = @_;
>   $escmode = 1;
>   print OUT "$data";
> -]
> [$ endsub $]
>
> This one will print out the desired data:
>
> [$ sub showData $]
> [++]
> [-
>   ($type, $data) = @_;
>   $escmode = 1;
>   print OUT "$data";
> -]
> [$ endsub $]
>
> --
> Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
> Kaki Data                tshirts, merchandize      Fax:        3816 2501
> Howitzvej 75               Åben 12.00-18.00        Email: kar@kakidata.dk
> 2000 Frederiksberg        Lørdag 12.00-16.00       Web:      www.suse.dk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org