Re: say and print (pugs)

2005-04-07 Thread Luke Palmer
Ovid writes: > You know, this should be simple and maybe I'm overlooking something > obvious. I was trying out Pugs and my first program worked great: > > for 1 .. 6 -> $var { > say $var; > } > > The second version didn't: > > for 1 .. 6 { > say; > } > > For the life of me, I

say and print (pugs)

2005-04-07 Thread Ovid
You know, this should be simple and maybe I'm overlooking something obvious. I was trying out Pugs and my first program worked great: for 1 .. 6 -> $var { say $var; } The second version didn't: for 1 .. 6 { say; } For the life of me, I can't recall if "say" (or "print", for th