--- BÁRTHÁZI András <[EMAIL PROTECTED]> wrote:
> It seems to me, that Pugs is in strict mode, and I can't say "$a = 5", I 
> have to say "my $a = 5". It is the right behaviour, or it is the deafult 
> behaviour and I should change it with a keyword, or it is the current 
> Pugs implementation and will be changed in the future?

p6 is strict by default. See S01 at:

http://dev.perl.org/perl6/doc/design/syn/S01.html

This was also discussed a lot yesterday on IRC:

http://colabti.de/irclogger//irclogger_log/perl6?date=2005-04-10,Sun

> "my(@array)=qw(1 2 3);" gives error. "my @array=qw(1 2 3);" works. Is it 
> the right behaviour? Both worked well with Perl 5.

qw(1 2 3) is now spelled <1 2 3> I think.

> Is input handling works, or just "slurp" is I can use at the moment?
> 
> -
> 
> It seems, that "@array.pop()" doesn't work. It's strange, because it is 
> used in examples/obfu/snowing.p6, too, and as I remember, it worked before.

Pugs currently has a broken nose. Autrijus just committed the first cut of
the new ITypes subsystem (a massive patch) so things are very unstable right
now. Should be better in a day or so. See:

http://use.perl.org/~autrijus/journal/

for more details.

/-\


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com

Reply via email to