Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: my $x or my ($x)

by johngg (Abbot)
on Apr 04, 2006 at 12:47 UTC ( #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
Node Status?
node history
Node Type: note [id://541140]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2017-03-29 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.