Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: EPIC on Eclipse: doesn't show $_

by chrestomanci (Priest)
on May 29, 2012 at 09:44 UTC ( #972971=note: print w/ replies, xml ) Need Help??


in reply to EPIC on Eclipse: doesn't show $_

I just did a test on $_ using:

foreach ( qw(a b c) ) { print $_."\n"; }
  1. It shows up under "Global Variables" not perl internal variables
  2. It only shows up when $_ is in scope, so it disappears once I exit the loop, and if I rewrite the for loop above with a named temporary variable, then it never appears.

I was testing under linux, but with the same version of Eclipse and perl, so it should be comparable to your setup.


Comment on Re: EPIC on Eclipse: doesn't show $_
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-12-19 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (78 votes), past polls