Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: loop inside system commandby RMGir (Prior) |
on Jul 17, 2002 at 15:07 UTC ( [id://182446]=note: print w/replies, xml ) | Need Help?? |
Interesting, cidaris. But have you ever used the join command?
It would save you your loop on "while(@other_builds)". The only downside here is that you wind up with 2 spaces between $first_build and file.c if there are no other_builds. The problem goes away if you do everything in a join:
-- Mike
In Section
Seekers of Perl Wisdom
|
|