Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Net::Snmp Attempt

by Abigail (Deacon)
on Jul 13, 2001 at 10:27 UTC ( #96303=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Net::Snmp Attempt
in thread Net::Snmp Attempt

$1 doesn't really "do" anything; it's a variable having a value. It is set by the preceeding regular expression which contains a set of parenthesis. The part of the string that is matched by the sub expression in the parens is put in $1. This avoids needing to do the split and getting the last element. See also the perlre manual page.

-- Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://96303]
help
Chatterbox?
[holli]: i don't know. meat and tomatoes don't belong anywhere near each other in my book

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-11-22 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (316 votes). Check out past polls.

    Notices?