Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Do you really want to use an array there?

by deprecated (Priest)
on Jun 12, 2004 at 05:19 UTC ( [id://363563]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Wektor;
    
    ...
      my ($widgin, $windex) = (@_); 
      return $widgin->[$windex] || 0;
    }
    
  2. or download this
    # this is oversimplified. a lot.
    my $vector = join '', map { pack 'N', $_ } @ary
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://363563]
Approved by davido
Front-paged by cLive ;-)
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-24 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found