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

Re^4: Kill a perl script execution in windows

by rbala (Acolyte)
on Feb 18, 2013 at 14:13 UTC ( #1019345=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Kill a perl script execution in windows
in thread Kill a perl script execution in windows

Hi, I have still one more doubt in your code . 1.What does the 1+ before indexing function signify ? 2.What is the string actually compared to $0? Thanks, Bala.


Comment on Re^4: Kill a perl script execution in windows
Re^5: Kill a perl script execution in windows
by BrowserUk (Pope) on Feb 18, 2013 at 22:35 UTC
    What does the 1+ before indexing function signify ?

    What do the docs say that index returns?

    .What is the string actually compared to $0 ?

    I already told you: the first value in the anonymous array.

    And just above that I said: "extracts the second and 25th fields, which are the command line text and the process id respectively. And places those two fields from each line into its own anonymous array.".

    If you work backward, you should be able to work it out.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-04-18 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls