RE: Small change request

2007-06-29 Thread Gerald Richter - ECOS GmbH
> > 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? > The regex that splits out the arguments is in Embperl/Syntax/EmbperlBlocks.pm line 420. Should be easily

Small change request

2007-06-20 Thread Michael Smith
From the documentation: -- In Embperl 2.0.2 and up you can use a shortcut syntax for passing parameters: [$ sub foo ($p) $] Here we show the first parameter [+ $p +] [$ endsub $] -- This works nicely but [$ sub foo($p) $] (ie without the space between foo and ($p)) gives an error.