While the expression:

    @x[1 .. Inf];

is happily accepted by Pugs, this one:

    @x[1..Inf];

fails with the message:

*** Error: No compatible subroutine found: "&.Inf"

I noticed this when revisiting the original Pugs golf examples.
If I was just playing golf, I would use:

    @x[1...];

which does work, but thought I better report this change in Pugs
behaviour.

/-\


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

Reply via email to