in reply to Questions about split
I think what you are asking for the first question is this:
( $match_u_want ) = ( split( /:/, $_ ) )[ 2 ]; # note: gets the third element
Otherwise, yeah, like everybody else says, you got your third argument confused. You definitely should read more about split :-)
|
---|