KyussRyn has asked for the wisdom of the Perl Monks concerning the following question:
01: #!c:\Perl\bin\perl 02: use warnings; 03: use strict; 04: use CGI ':standard'; ED: use constant CONSTANT1 => '../perlscript1.pl'; ED: use constant CONSTANT2 => '../perlscript2.pl'; 05: my $htmlPage = CGI->new; 06: 07: print "\n<p>ID/パスワート +5438;を忘れた方は"; 08: print $htmlPage->a( { -href => CONSTANT2 09: , -target => '_self' }, 'こちら' ); 10: print "</p>\n<p>"; 11: print $htmlPage->a( { -href => CONSTANT1 12: , -target => '_self' }, '利用規約' + ); 13: print "</p>";
These other alternatives provide variations of the error. I am pretty certain also that it is not the Japanese characters causing the problem either, as I have tested the same characters in other places.12: , -target => ''_self'' }, '利用規約 +;' ); 12: , -target => "_self" }, '利用規約' + ); 12: , -target => "'_self'" }, '利用規約 +;' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bad name after xxxx'
by GrandFather (Saint) on Jan 25, 2011 at 04:08 UTC | |
|
Re: Bad name after xxxx'
by ikegami (Patriarch) on Jan 25, 2011 at 04:54 UTC | |
by KyussRyn (Acolyte) on Jan 25, 2011 at 05:46 UTC | |
|
Re: Bad name after xxxx'
by fullermd (Vicar) on Jan 25, 2011 at 04:21 UTC | |
by KyussRyn (Acolyte) on Jan 25, 2011 at 05:42 UTC | |
|
Re: Bad name after xxxx'
by JavaFan (Canon) on Jan 25, 2011 at 12:28 UTC | |
by KyussRyn (Acolyte) on Jan 26, 2011 at 01:16 UTC | |
by fullermd (Vicar) on Jan 26, 2011 at 02:21 UTC |