Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^2: Bad name after xxxx'

by KyussRyn (Acolyte)
on Jan 26, 2011 at 01:16 UTC ( #884265=note: print w/replies, xml ) Need Help??

in reply to Re: Bad name after xxxx'
in thread Bad name after xxxx'

The code I posted in response to fullermd has a sample of the code that comes up with the error.

To restate my problem, the code compiles and runs on the system I am testing it on, but in the eclipse EPIC environment it marks the specific line with a bad name error. I just thought to test the script from the command line and it works fine with no error calls.

I would like to know or be given direction as to why this is occuring to learn more about the proper way to code with perl.

Replies are listed 'Best First'.
Re^3: Bad name after xxxx'
by fullermd (Priest) on Jan 26, 2011 at 02:21 UTC

    Well, it looks like perl to me any all the perl's on my system, and it sounds like it's working fine for you with perl. So I'd say you're coding perl properly.

    So it sounds like you really have an EPIC problem; maybe it has a bug in its parsing somehow. 's beyond me; I've never used anything Eclipse-ish. I don't know what support channels exist there, but you could see if someone there knows what's up.

    You could also try fiddling the code around a bit and see if you can find something that's making it's confused. Perhaps it doesn't like the commas at beginning of line? Try changing something like

    print $htmlPage->a( { -href => CONSTANT2 , -target => '_self' }, 'こちら' + );


    print $htmlPage->a( { -href => CONSTANT2, -target => '_self' }, 'こちら' ) +;

    instead (comma moved to the end of the first line rather than start of the second). Or put it all together on one line. Eliminate the -href, and try with just the -target, and vice versa.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://884265]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-01-20 00:34 GMT
Find Nodes?
    Voting Booth?