New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transliteration replacement not terminated message obscure #7337
Comments
From @jidanniCan you please use more friendly English than [Yes, this is all considered line 1 as it is Makefile output.] |
From tassilo.parseval@post.rwth-aachen.deOn Sat, Jun 05, 2004 at 05:28:53AM +0000 Dan Jacobson wrote:
It's talking about y(). 'y' is an alias for 'tr' and in the above case y()(); With the current behaviour, it seems impossible to have 'y' as a Tassilo |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'resolved' |
From perl5-porters@ton.iguana.beIn article <rt-3.0.9-30045-89723.9.88817654916339@perl.org>,
perl -MO=Deparse -we 'sub y {}; y(1234);y(1);' y is an alternative name for the tr (Transliteration) operator. And you Basically, don't give your functions names of perl operators to avoid |
From @jidanni
(Ton> Basically, don't give your functions names of perl operators to avoid OK, the error messages should perhaps mention what letter was The user was thinking "I'll plot y as a function of x", and could not Indeed, I bet if line numbers were removed, perl error messages would Gawk often points out just where things went wrong, with a ^. |
From @ysthOn Mon, Jun 07, 2004 at 03:10:24AM +0800, Dan Jacobson <jidanni@jidanni.org> wrote:
Running with with "use diagnostics;" (or feeding the warning/error message to Inline Patch--- perl/pod/perldiag.pod.orig 2004-05-13 05:36:23.000000000 -0700
+++ perl/pod/perldiag.pod 2004-06-07 00:25:10.655542400 -0700
@@ -3835,7 +3835,7 @@
=item Transliteration replacement not terminated
(F) The lexer couldn't find the final delimiter of a tr/// or tr[][]
-construct.
+or y/// or y[][] construct.
=item '%s' trapped by operation mask
|
From nick@ing-simmons.netTassilo Parseval <tassilo.parseval@post.rwth-aachen.de> writes:
In his code I think it is expecting I think the fix is add a space:
|
From nick@ing-simmons.netNick Ing-Simmons <nick@ing-simmons.net> writes:
Which is fine for the declare but then you need to add an & on the call. #!perl Does work but is messy.
|
From @rgsYitzchak Scott-Thoennes wrote:
Thanks, applied as #22923. |
Migrated from rt.perl.org#30045 (status was 'resolved')
Searchable as RT30045$
The text was updated successfully, but these errors were encountered: