print (split /:/)[1];
Update: I just noticed that this does not actually run, it spits a syntax error, this, however, works:
Anyone can explain this a bit? got anything to do with list|scalar context?print '', (split /:/)[1];
In reply to Re: regex needed
by Chady
in thread regex needed
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |