On Sun Jan 03 05:09:14 2010, nkh wrote:
> rakudo commit: db84bc06990c37b93fe987dcffab4ed9bf31de92
> build/PARROT_REVISION: 43076 1.9.0
> 
> na...@naquadim rakudo (master)$ ./perl6  nadim_test.pl
> Not enough positional parameters passed; got 0 but expected 2
> in Main (file src/gen_setting.pm, line 324)
> 
> code:
> 
> sub A(Int $x, Str $y) {1}
> 
> say A() ;

Now it gives (I put the code in test2.p6):

Not enough positional parameters passed; got 0 but expected 2
in 'A' at line 1:test2.p6
in main program body at line 3:test2.p6

Thanks,

Jonathan

Reply via email to