error message

error message

am 20.04.2008 21:57:25 von Levente Kovacs

Hi all,

Can anyone tell me what this error message mean?

syntax error at ./dbubdate.pl line 181, near "}continue"
Execution of ./dbubdate.pl aborted due to compilation errors.

Thanx,

--
Levente Kovacs


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 22:09:21 von Xavier Noria

On Apr 20, 2008, at 21:57 , Levente Kovacs wrote:

> Can anyone tell me what this error message mean?
>
> syntax error at ./dbubdate.pl line 181, near "}continue"

The code around that line in that script is not well-formed. If you
don't know what to do please send lines 170 to 190 specifying which
one is line 181.

-- fxn


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 22:10:46 von chas.owens

On Sun, Apr 20, 2008 at 3:57 PM, Levente Kovacs wrote:
> Hi all,
>
> Can anyone tell me what this error message mean?
>
> syntax error at ./dbubdate.pl line 181, near "}continue"
> Execution of ./dbubdate.pl aborted due to compilation errors.
snip

It means that you used improper syntax near line 181. That is you
made a statement that does not follow the rules of the Perl language.
Perl is not certain which rule you broke, it just knows the parser
reached an invalid state at line 181. Look at that line and the ones
preceding it to see if you are missing a parenthesis, bracket, brace,
semicolon, etc.

--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 22:45:38 von Levente Kovacs

Hi,


Thank you very much for your answer. I am sitting here for a day seeng what
could be wrong, but I can't find it. I post a link to my code here. Thank you
for your help in advance.

http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127

http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log



On Sun, 20 Apr 2008 22:09:21 +0200
Xavier Noria wrote:


> On Apr 20, 2008, at 21:57 , Levente Kovacs wrote:
>
> > Can anyone tell me what this error message mean?
> >
> > syntax error at ./dbubdate.pl line 181, near "}continue"
>
> The code around that line in that script is not well-formed. If you
> don't know what to do please send lines 170 to 190 specifying which
> one is line 181.
>
> -- fxn
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>


--
Levente Kovacs


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 22:57:24 von krahnj

Levente Kovacs wrote:
>
> On Sun, 20 Apr 2008 22:09:21 +0200
> Xavier Noria wrote:
>
>> On Apr 20, 2008, at 21:57 , Levente Kovacs wrote:
>>
>>> Can anyone tell me what this error message mean?
>>>
>>> syntax error at ./dbubdate.pl line 181, near "}continue"
>>
>> The code around that line in that script is not well-formed. If you
>> don't know what to do please send lines 170 to 190 specifying which
>> one is line 181.
>
> Thank you very much for your answer. I am sitting here for a day seeng what
> could be wrong, but I can't find it. I post a link to my code here. Thank you
> for your help in advance.
>
> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127
>
> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log

The word "continue" is not in that code so please post the actual code
that produced that error message.



John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 22:57:46 von Xavier Noria

On Apr 20, 2008, at 22:45 , Levente Kovacs wrote:

> Thank you very much for your answer. I am sitting here for a day
> seeng what
> could be wrong, but I can't find it. I post a link to my code here.
> Thank you
> for your help in advance.
>
> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127
>
> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log

That script does not seem to contain any occurrence of "continue", are
you sure that's the one?

-- fxn


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 23:06:56 von krahnj

Levente Kovacs wrote:
>
> On Sun, 20 Apr 2008 22:09:21 +0200
> Xavier Noria wrote:
>
>> On Apr 20, 2008, at 21:57 , Levente Kovacs wrote:
>>
>>> Can anyone tell me what this error message mean?
>>>
>>> syntax error at ./dbubdate.pl line 181, near "}continue"
>>
>> The code around that line in that script is not well-formed. If you
>> don't know what to do please send lines 170 to 190 specifying which
>> one is line 181.
>
> Thank you very much for your answer. I am sitting here for a day seeng what
> could be wrong, but I can't find it. I post a link to my code here. Thank you
> for your help in advance.
>
> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127
>
> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log

Your problem is caused by the use of the Switch module. Rewrite your
code without that module and you won't have a problem.


John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 23:23:26 von Levente Kovacs

On Sun, 20 Apr 2008 22:57:46 +0200
Xavier Noria wrote:

> On Apr 20, 2008, at 22:45 , Levente Kovacs wrote:
>
> > Thank you very much for your answer. I am sitting here for a day
> > seeng what
> > could be wrong, but I can't find it. I post a link to my code here.
> > Thank you
> > for your help in advance.
> >
> > http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127
> >
> > http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log
>
> That script does not seem to contain any occurrence of "continue", are
> you sure that's the one?

leva@jive:~/svn/scripts4geda$ ls
bomer.pl light2heavy.pl pscat.pl test.sch
dbubdate.pl logic_cpu.sch test.pl
leva@jive:~/svn/scripts4geda$ ./dbubdate.pl
syntax error at ./dbubdate.pl line 180, near "}continue"
Execution of ./dbubdate.pl aborted due to compilation errors.
leva@jive:~/svn/scripts4geda$ cat ./dbubdate.pl |grep continue
leva@jive:~/svn/scripts4geda$

So... that is why I am asking. Using Debian stable, x86_64
perl -v
This is perl, v5.8.8 built for x86_64-linux-gnu-thread-multi

Thank you for your help...

could you please try the script? Maybe it is a debian bug?

--
Levente Kovacs


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 20.04.2008 23:38:19 von Levente Kovacs

On Sun, 20 Apr 2008 14:06:56 -0700
"John W. Krahn" wrote:

> Levente Kovacs wrote:
> >
> > On Sun, 20 Apr 2008 22:09:21 +0200
> > Xavier Noria wrote:
> >
> >> On Apr 20, 2008, at 21:57 , Levente Kovacs wrote:
> >>
> >>> Can anyone tell me what this error message mean?
> >>>
> >>> syntax error at ./dbubdate.pl line 181, near "}continue"
> >>
> >> The code around that line in that script is not well-formed. If you
> >> don't know what to do please send lines 170 to 190 specifying which
> >> one is line 181.
> >
> > Thank you very much for your answer. I am sitting here for a day seeng what
> > could be wrong, but I can't find it. I post a link to my code here. Thank you
> > for your help in advance.
> >
> > http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127
> >
> > http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log
>
> Your problem is caused by the use of the Switch module. Rewrite your
> code without that module and you won't have a problem.

Thank you. I'm on it. That is very odd. Why is that so? Is there anything with
my perl version?

>
> John
> --
> Perl isn't a toolbox, but a small machine shop where you
> can special-order certain sorts of tools at low cost and
> in short order. -- Larry Wall
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>


--
Levente Kovacs


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: error message

am 21.04.2008 00:35:54 von krahnj

Levente Kovacs wrote:
> On Sun, 20 Apr 2008 14:06:56 -0700
> "John W. Krahn" wrote:
>
>> Levente Kovacs wrote:
>>> On Sun, 20 Apr 2008 22:09:21 +0200
>>> Xavier Noria wrote:
>>>
>>>> On Apr 20, 2008, at 21:57 , Levente Kovacs wrote:
>>>>
>>>>> Can anyone tell me what this error message mean?
>>>>>
>>>>> syntax error at ./dbubdate.pl line 181, near "}continue"
>>>> The code around that line in that script is not well-formed. If you
>>>> don't know what to do please send lines 170 to 190 specifying which
>>>> one is line 181.
>>> Thank you very much for your answer. I am sitting here for a day seeng what
>>> could be wrong, but I can't find it. I post a link to my code here. Thank you
>>> for your help in advance.
>>>
>>> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?revision=127
>>>
>>> http://logonex.eu/cgi-bin/viewvc/viewvc.cgi/scripts4geda/dbu bdate.pl?view=log
>> Your problem is caused by the use of the Switch module. Rewrite your
>> code without that module and you won't have a problem.
>
> Thank you. I'm on it. That is very odd. Why is that so? Is there anything with
> my perl version?

Switch uses a source filter which modifies your code before it is
compiled by perl and as such there are certain things that will not
compile correctly.


John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/