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
- 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
> "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
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
> "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
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
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
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
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