Re: Syntax Errors

2010-12-26 Thread Sisyphus
- Original Message - From: "Randal L. Schwartz" To: Sent: Monday, December 27, 2010 1:57 PM Subject: Re: Syntax Errors "Bill" == Bill Casey writes: Bill> Syntax error at import_track.pl line 11, near ") {" Bill> Syntax error at import_track.pl line 14, near "}" Perl doesn't e

Re: Syntax Errors

2010-12-26 Thread Randal L. Schwartz
> "Sheppy" == Sheppy R writes: Sheppy> Strawberry Perl under Padre on a Windows system will give Syntax errors Sheppy> (Running from both the command-line and in Padre itself). Chances are this Sheppy> is where Bill is getting them from, probably just one of the differences Sheppy> between

Re: Syntax Errors

2010-12-26 Thread Sheppy R
Strawberry Perl under Padre on a Windows system will give Syntax errors (Running from both the command-line and in Padre itself). Chances are this is where Bill is getting them from, probably just one of the differences between *nix and Windows. @Bill - I'm not seeing any problems when I copy and

Re: Syntax Errors

2010-12-26 Thread Randal L. Schwartz
> "Bill" == Bill Casey writes: Bill> Syntax error at import_track.pl line 11, near ") {" Bill> Syntax error at import_track.pl line 14, near "}" Perl doesn't ever say "syntax error". So those errors are not coming from Perl. First thing to figure out is why Perl isn't running your script

Re: Perl Books

2010-12-26 Thread Francesco Di Lorenzo
I'm a beginner and I'm currently reading Learning Perl by O'Really, great book! Francesco On 26/dic/2010, at 19:54, SERIER wrote: > What are some of the best books for newbies to perl? > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginn

Re: Perl Books

2010-12-26 Thread Parag Kalra
Learning Perl by Randal and Group - http://oreilly.com/catalog/9780596001322 Must must read book for any beginner. Cheers, Parag On Sun, Dec 26, 2010 at 10:54 AM, SERIER wrote: > What are some of the best books for newbies to perl? > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@per

Perl Books

2010-12-26 Thread SERIER
What are some of the best books for newbies to perl? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: given-when statement as a rvalue?

2010-12-26 Thread Peter Daum
On 2010-12-26 18:28, Brian Fraser wrote: > Your example actually works -- On perl 5.13.+: > http://www.effectiveperlprogramming.com/blog/683 that's good news (even though it means I'll have to wait a little longer until I can actually use it) - at least I'm obviously not the only one who felt, tha

Re: given-when statement as a rvalue?

2010-12-26 Thread Paul Johnson
On Sun, Dec 26, 2010 at 06:13:06PM +0100, Peter Daum wrote: > Is it possible to get a value from a given-when statement? > > Suppose I have a long comparison in which all branches affect > the same variable. Here's a short example (minor variation > from"perlsyn"): > > given($something) { > w

Re: given-when statement as a rvalue?

2010-12-26 Thread Brian Fraser
Your example actually works -- On perl 5.13.+: http://www.effectiveperlprogramming.com/blog/683 Brian.

given-when statement as a rvalue?

2010-12-26 Thread Peter Daum
Is it possible to get a value from a given-when statement? Suppose I have a long comparison in which all branches affect the same variable. Here's a short example (minor variation from"perlsyn"): given($something) { when (/^abc/) { $x = 1; } when (/^def/) { $x = 2; } when (/^xyz/) { $

Re: Writing 3D games with Perl... How's the Performance?

2010-12-26 Thread Shlomi Fish
Hi U.N./J/whatever, a few corrections about what you said. On Friday 24 December 2010 03:56:50 U.N. wrote: > Hi folks. I'm a Perl n00b, and I have a long ways to go yet. > However, I was hoping someone looking down from the top could share > some wisdom with me about the viability of Perl for 3D

Fwd: Re: Writing 3D games with Perl... How's the Performance?

2010-12-26 Thread Shlomi Fish
-- Forwarded Message -- Subject: Re: Writing 3D games with Perl... How's the Performance? Date: Friday 24 December 2010, 12:43:11 From: Shlomi Fish To: beginners@perl.org CC: "U.N." Hi U.N./J/whatever, a few corrections about what you said. On Friday 24 December 2010 03:56