Re: Syntax Errors

2010-12-27 Thread Erez Schatz
On 12/27/2010 06:11 AM, Sisyphus wrote: > > - Original Message - From: "Randal L. Schwartz" > > To: > Sent: Monday, December 27, 2010 1:57 PM > Subject: Re: Syntax Errors > > >>>>>>> "Bill" == Bill Casey

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_trac

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: Syntax Errors

2010-12-19 Thread Shlomi Fish
On Sunday 19 December 2010 22:23:15 Bill Casey wrote: > Hi > > Below is a Perl script which won't compile. My operating system is > Windows XP Home and Perl version is 5.10.1.3. > This script after I placed it in a file compiles fine here: {{{ shlomif:~$ cat test.pl #!/usr/bin/perl # import_tr

Re: syntax errors?

2006-03-29 Thread Tom Phoenix
On 3/28/06, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: > On Tue, 2006-28-03 at 17:42 -0800, Christopher Spears wrote: > > my $sum{$source} += my > > $total_bytes{$source}{$destination}; > > The second 'my' is causing the error. What does the first one cause? --Tom Phoenix Stonehenge Perl T

Re: syntax errors?

2006-03-28 Thread Mr. Shawn H. Corey
On Tue, 2006-28-03 at 17:42 -0800, Christopher Spears wrote: > my $sum{$source} += my > $total_bytes{$source}{$destination}; The second 'my' is causing the error. -- __END__ Just my 0.0002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we l

Re: syntax errors?

2006-03-28 Thread Tom Phoenix
On 3/28/06, Christopher Spears <[EMAIL PROTECTED]> wrote: > my $sum{$source} += my > $total_bytes{$source}{$destination}; > Am I missing something? My guess is that my declarations have infested my program. Err, your program. You can only use my() with complete variables, not with elements