Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

(SOLVED) parsing problems with prototype blocks (precedence)

by LanX (Saint)
on Nov 03, 2021 at 12:48 UTC ( [id://11138374]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    foo {$Q} + foo {$t}; # line 12
    
  2. or download this
    C:/Strawberry/perl/bin\perl.exe -w d:/tmp/pm/sym.pl 
    Too many arguments for main::foo at d:/tmp/pm/sym.pl line 12, near "};
    +"
    Execution of d:/tmp/pm/sym.pl aborted due to compilation errors.
    
  3. or download this
    use strict;
    use warnings;
    ...
    use B::Deparse;
    
    print B::Deparse->new('-p')->coderef2text(\&tst);
    
  4. or download this
    C:/Strawberry/perl/bin\perl.exe -w d:/tmp/pm/sym.pl 
    {
    ...
        use strict;
        print(($res = bla(($Q / bla($t)))));
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11138374]
Approved by hippo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found