Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Passing a database connection

by dragonchild (Archbishop)
on Nov 23, 2005 at 02:23 UTC ( #510982=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @x = 0 .. 9;
    print "@x[2..4]\n";
    ...
    print "@x[@y]\n";
    @x[7..9] = @y;
    print "@x\n";
    
  2. or download this
    sub foo {
        wantarray ? 3 : 5;
    ...
    @x[2] = foo();
    my $x = foo();
    print "$x[2] <-> $x\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://510982]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-12-17 18:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (466 votes). Check out past polls.

    Notices?