perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Smith" <smi...@gmail.com>
Subject Small change request
Date Wed, 20 Jun 2007 14:19:28 GMT
>From the documentation:

--

In Embperl 2.0.2 and up you can use a shortcut syntax for passing parameters:

    [$ sub foo ($p) $]
     <p> Here we show the first parameter [+ $p +]</p>
    [$ endsub $]
--

This works nicely but [$ sub foo($p) $] (ie without the space between
foo and ($p)) gives an error.

Might be worth allowing this in some future version if it's not too hard?

Michael

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


Mime
View raw message