Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Can someone help me to explain the code below

by anakin30 (Acolyte)
on Aug 03, 2010 at 20:16 UTC ( #852738=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Can someone help me to explain the code below
in thread Can someone help me to explain the code below

($this_mail) and ($this_in) are variable isn't it? but than i didn't see it has been defined in the code? how does it possible? what does the /gio means? , whats the function? ($this_mail) = ($this_in =~ /(.*)/gio)


Comment on Re^3: Can someone help me to explain the code below
Re^4: Can someone help me to explain the code below
by runrig (Abbot) on Aug 03, 2010 at 20:42 UTC

    You should first check out the perl documentation, where you'll find links to the answers to your questions (start with the Overview and Tutorials sections), e.g. $ does preceed scalar variables (see perldata), and variables are defined as you use them (although you are strongly encouraged to Use strict and warnings, "/gio" is actually part of "=~" with "//" (with the g,i, and o options) which is the pattern match operator (see perlop and perlre), All of these docs can be displayed at the command line with perldoc, e.g. "perldoc perl" or "perldoc perlre".

    There are also numerous Tutorials on this site.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-10-02 05:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls