Hi all,

Just built GHC 6.6 from source (oh joy!) and upgraded to Pugs Version:
6.2.13 (r14881).  After building it I did a "make install" and in the
pugs directory, I tried this:

  pugs $ pugs t/general/basic.t 
  pugs: user error (*** 
      Unexpected "Str"
      expecting "\\", ":", "*", parameter name or ")"
      at /usr/local/lib/perl6/Test.pm line 34, column 21
         t/general/basic.t line 1, column 1)

However, it works when I do this:

  pugs $ pugs -Iblib6/lib t/general/basic.t 
  1..15
  ok 1 - Welcome to Pugs!
  ok 2 - undef
  ok 3 - unless
  ok 4 - list assignment 1
  ok 5 - list assignment 2
  not ok 6 - my() returns LHS # TODO
  #   Failed (TODO) test (t/general/basic.t line 26, column 1-60)
  #     Actual: undef
  ok 7 - if without parens
  ok 8 - for without parens
  ok 9 - while
  ok 10 - last
  ok 11 - next
  ok 12 - 12.eval
  ok 13 - ?? !!
  ok 14 - { my $_ = 1; $_ }
  ok 15 -  \# We've got fun and games!

I don't have pugs here at work (or time for it, really), but I was
wondering why I appear to be getting a syntax error if I don't include
blib6/lib?  That strikes me as very strange.  Can anyone else reproduce
this?  If not, I can dig into my system and see what's up.

Cheers,
Ovid

--

Buy the book -- http://www.oreilly.com/catalog/perlhks/
Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/

Reply via email to