Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: my $x or my ($x)

by johngg (Canon)
on Apr 04, 2006 at 12:47 UTC ( [id://541140]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -e 'my $x = "abcdefg" =~ /(cd)/; print "$x\n";'
    
  2. or download this
    perl -e 'my ($x) = "abcdefg" =~ /(cd)/; print "$x\n";'
    
  3. or download this
    my($this, $that) = $string =~ /abc(def).+?(pq)$/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://541140]
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: (5)
As of 2024-03-28 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found