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

Re^2: Array name with a Variable

by Anonymous Monk
on Apr 18, 2008 at 05:34 UTC ( #681383=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my @array1 = qw(c d e);
    my @array2 = qw(e f g h);
    # my @array3 = qw(a b d);  # original code
    my @array3 = qw(a a b d);  # modified for test
    my @array4 = qw(s g h j k l);
  2. or download this
    @array0, @array1: e - 1
    @array0, @array2: a d - 2
    @array1, @array2: a - 1
    @array1, @array3: g h - 2
    @array2, @array3: a - 1

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://681383]
[hippo]: But is under vendor_perl in your error message so you are mixing up modules installed from the packager and by hand. That's rarely a good plan.
[vedagiri89]: the prm fine if i run file directly..not working if i run through apache http file
[hippo]: Environments differ.
[vedagiri89]: so, how to fix that differ
[choroba]: option one is install everything from the vendor
[choroba]: option two is install everything by hand
[choroba]: option three is mixed the two, but know well what you're doing
[vedagiri89]: right..let me check

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2018-06-19 11:41 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (113 votes). Check out past polls.