Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Perl oddities

by YuckFoo (Abbot)
on Mar 01, 2005 at 20:19 UTC ( #435598=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Ugly to me...
    if (my ($this, $that, $some, $other) = $line =~ /(this).*(that).*(some
    +).*(other)/) { 
    ...
      do_it();
    }
    
  2. or download this
    my ( $this, $that, $some, $other, $foo, $bar, $baz ) = ( $1 .. $+ );
    

Log In?
Username:
Password:

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

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

    What is your favourite meta-syntactic variable name?














    Results (49 votes), past polls