Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Kill a perl script execution in windows

by rbala (Acolyte)
on Feb 18, 2013 at 14:13 UTC ( [id://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.

Replies are listed 'Best First'.
Re^5: Kill a perl script execution in windows
by BrowserUk (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1019345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found