Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by mrdurtal (Scribe)
on Feb 01, 2012 at 01:05 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://951104]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 10:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found