Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: yet another prototype bug?

by LanX (Archbishop)
on May 31, 2013 at 10:21 UTC ( #1036211=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     perl -version
    
    This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
    
  2. or download this
    BEGIN {
        $SIG{__WARN__}=sub { print "WARNING: $_[0] \n" };
    ...
    sub fn2 (\@) {
        print $_,$/ for @_;
    }
    
  3. or download this
    $ perl /tmp/proto.pl 
    WARNING: Prototype mismatch: sub main::fn1 ($) vs (\@) at /tmp/proto.p
    +l line 11.
    ...
    WARNING: Prototype mismatch: sub main::fn2 ($) vs (\@) at /tmp/proto.p
    +l line 18.
     
    output1output2
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036211]
help
Chatterbox?
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 2018-12-14 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (69 votes). Check out past polls.

    Notices?