develooper Front page | perl.perl6.compiler | Postings from June 2018

[perl #133300] missing symbol name in error for &::() lookup failure

From:
Brandon Allbery
Date:
June 25, 2018 00:18
Subject:
[perl #133300] missing symbol name in error for &::() lookup failure
Message ID:
rt-4.0.24-5478-1529885914-1671.133300-82-0@perl.org
# New Ticket Created by  Brandon Allbery 
# Please include the string:  [perl #133300]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=133300 >


[25 00:11:06] <ToddAndMargo> What is wrong with this one:
`&::($RunSpecific)();`   No such symbol ''
[25 00:11:45] <ToddAndMargo> I don't see me using any single quotes
[25 00:13:23] <geekosaur> it's an empty string, with the single quotes part
of the error message to set off the symbol it's looking for?
[25 00:15:11] <geekosaur> hm, actually it says that for any not found
symbol, so that may be showing a bug
[25 00:15:57] <geekosaur> m: my $RunSpecific = 'glup'; say
&::($RunSpecific)();
[25 00:15:58] <camelia> rakudo-moar e9351cbaa: OUTPUT: «No such symbol ''␤
[25 00:15:58]    in block <unit> at <tmp> line 1␤
[25 00:15:58]  ␤
[25 00:15:58]  »
[25 00:15:59] <geekosaur> m: sub glup { 1 }; my $RunSpecific = 'glup'; say
&::($RunSpecific)();
[25 00:16:00] <camelia> rakudo-moar e9351cbaa: OUTPUT: «1␤
[25 00:16:00]  »



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About