Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Is it a list or a flip-flop?

by Paladin (Priest)
on Aug 18, 2005 at 19:09 UTC ( #484936=note: print w/replies, xml ) Need Help??


in reply to Is it a list or a flip-flop?

You are using the .. operator in scalar context. When you do this, and have a number at one end, it compares that number to $. (the current line of the selected file handle, usually used in a while (<FH>) {} loop. Since you aren't reading a file, $. is uninitialized at this point.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484936]
help
Chatterbox?
[Discipulus]: i need to use css to get and colorize various different IDs?
[Corion]: I haven't used it, but http://datamaps. github.io/ looks promising
[Discipulus]: thanks.. a more perlish solution?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-03-23 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.