Hope that helps,#!/usr/bin/Perl -w use strict; my($str) = 'one|two|three|four|five|six|seven|eight|nine|ten'; my($this,$that,$other) = (split /\|/,$str)[2,7,8]; print "this:$this\nthat:$that\nother:$other\n";
In reply to Re: There has to be an easier way...
by Shendal
in thread There has to be an easier way...
by bxjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |