Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Why am I getting "premature end of script header"? - &subroutine calling style

by imp (Priest)
on Nov 27, 2006 at 22:46 UTC ( [id://586350]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        if( eval "use fakemodule; 1;") {
    ...
            print STDERR "Couldn't load fakemodule.";
        }
    }
    
  2. or download this
    first(1,2,3);
    
    sub first {
    ...
    }
    
    # Output is 123
    
  3. or download this
    use strict;
    use warnings;
    ...
    my @list = (1,2,3);
    pro(@list);
    &pro(@list);
    
  4. or download this
    $VAR1 = [
              [
    ...
              2,
              3
            ];
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-25 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found