Re: confusion with splitting columns using [-n, -n] (e.g; my ( $country, $bytes ) = ( split )[ -2, -1 ])
- From: "jeevs" <jeevan.ingale@xxxxxxxxx>
- Date: 30 Jan 2007 00:21:42 -0800
-2 and -1 are the indexes used by split which tells -1 is the last
column selected by split in your case its the bytes column. and -2 is
the country column.
.
- Follow-Ups:
- Prev by Date: Re: I don't know where to start with this one.
- Next by Date: Re: confusion with splitting columns using [-n, -n] (e.g; my ( $country, $bytes ) = ( split )[ -2, -1 ])
- Previous by thread: Re: Free to wrong pool..
- Next by thread: Re: confusion with splitting columns using [-n, -n] (e.g; my ( $country, $bytes ) = ( split )[ -2, -1 ])
- Index(es):