Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Implicit assignment to $_

by pvaldes (Chaplain)
on Feb 26, 2013 at 17:05 UTC ( #1020732=note: print w/replies, xml ) Need Help??


in reply to Implicit assignment to $_

I'm trying to get "Test A"

print "Test A" or die "Test B is not acceptable, its purpose here is merely esoteric";

(Yes, you are doing wrong) Is "Test A" a six character's string, a filehandle, a variable, a macguffin?

print  $test_A;     # looking for this?

We simply need some more clues

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-06-19 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (114 votes). Check out past polls.

    Notices?