Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: Strange Regex Behavior

by quester (Vicar)
on Dec 06, 2011 at 09:08 UTC ( #941975=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $,=", ";
    my $i;
    print $i++, $i, $i++, $i, $i++, $i;
    
  2. or download this
    0, 3, 1, 3, 2, 3
    
  3. or download this
    use Data::Dump::Streamer;
    my $i;
    print Dump \($i++, $i, $i++, $i, $i++, $i);
    
  4. or download this
    $SCALAR1 = \do { my $v = 0 };
    $SCALAR2 = \do { my $v = 3 };
    ...
    $SCALAR4 = $SCALAR2;
    $SCALAR5 = \do { my $v = 2 };
    $SCALAR6 = $SCALAR2;
    
  5. or download this
    use Data::Dump::Streamer;
    print Dump \("x"=~/(x)/, $1, "y"=~/(y)/, $1, "z"=~/(z)/, $1);
    
  6. or download this
    $SCALAR1 = \do { my $v = 'x' };
    $SCALAR2 = \do { my $v = 'z' };
    ...
    $SCALAR4 = $SCALAR2;
    $SCALAR5 = \do { my $v = 'z' };
    $SCALAR6 = $SCALAR2;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://941975]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2018-06-18 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (110 votes). Check out past polls.

    Notices?