Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 cooling their heels in the Monastery: (9)
As of 2015-07-03 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls