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

Re: Curious about a quirk with the special variable, $0

by mrdurtal (Scribe)
on Feb 01, 2012 at 01:05 UTC ( #951104=note: print w/replies, xml ) Need Help??


in reply to Curious about a quirk with the special variable, $0

Thanks folks.

OK...UFDAH moment re: PREdeclared viable...what was I not thinking!

I get that the difference would be with 4count verses forcount. Perl accepts the 4 as a number in the context and counts from there.

Semi-UFDAH moment with $0 and ps. Now I get it. I'll try it when I get home from work to see if my OS will support the assignment of a new name from within the program and how that is picked up with HTOP.

I'll also try the error approach. I like learning from the system.

Your generosity and patience much appreciated!

:There is more than one way to @verb a cat:
  • Comment on Re: Curious about a quirk with the special variable, $0

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951104]
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: (4)
As of 2021-01-17 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?