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

Re^2: export variable outside foreach

by mitchreward (Acolyte)
on Jun 19, 2014 at 08:34 UTC ( [id://1090419]=note: print w/replies, xml ) Need Help??


in reply to Re: export variable outside foreach
in thread export variable outside foreach

perl -w test.pl

Global symbol "$scre" requires explicit package name at test.pl line 12.

Execution of test.pl aborted due to compilation errors.

Replies are listed 'Best First'.
Re^3: export variable outside foreach
by Anonymous Monk on Jun 19, 2014 at 08:47 UTC
    Is that a question? :D Fix your typo, copy the varible name, ctrl+f, paste variable name, enter, find the typo, fix it
Re^3: export variable outside foreach
by roboticus (Chancellor) on Jun 19, 2014 at 13:01 UTC

    mitchreward:

    He meant that $srce is not the same as $scre.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2025-07-15 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.