okay something still is not working for me.  What am I doing wrong?

main.pl


--- snip ----


#!/usr/bin/perl
#
use Expect;
use strict;
use elements;
#
#

for my $element (@elementList) {





from elements.pm


---- snip ----




#
package elements;


my @elementList = (
                {
                    x => 'blah',
                    y => 'blah2',
                    reserved => 'blah3',
                    z => 'globs',
                    aa => 'wish',
                    bb => 'w',
                },
);

--- snip ---


 ./main.pl
Global symbol "@elementList" requires explicit package name at ./main.pl





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to