Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
is there another way to make it look better? or rewrite it?$_ = p:e:r:l ($p,$e,$r,$l) = split(/:/,$_,4); print "$p$e$r$l\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: another way to split with limit
by larsen (Parson) on Aug 20, 2001 at 00:04 UTC | |
by Anonymous Monk on Aug 20, 2001 at 00:11 UTC | |
by guillaume (Pilgrim) on Aug 20, 2001 at 00:34 UTC | |
|
Re: another way to split with limit
by Zaxo (Archbishop) on Aug 20, 2001 at 01:31 UTC | |
|
Re: another way to split with limit
by dga (Hermit) on Aug 20, 2001 at 01:55 UTC | |
|
Re: another way to split with limit
by guillaume (Pilgrim) on Aug 20, 2001 at 00:06 UTC | |
by Anonymous Monk on Aug 20, 2001 at 00:16 UTC |