* Buddy Burden <[EMAIL PROTECTED]> [2005-02-28 19:20]:
> >I've also now removed any traces of the run() synonym. You're
> >right - why complicate things with no benefit.
>
> I didn't see anything wrong with the concept. Personally I
> would have done it the other way around (i.e. make prun a
> synonym for Parallel::Simple::run), but that's a minor point.
Personally, I would pick yet another different approach: call the
function "run", but export it as "prun". When qualified with
Parallel::Simple::, even the very short "run" identifier is clear
and unambiguous. When exported, however, a simple "run" is more
likely to clash than "prun" and might be harder to search the
source for too.
> Oh, and I do agree with the comments about using
>
> *Parallel::Simple::run = \&prun;
Note that this is how exporting works -- the only difference is
that the left and right hand side of the assignment refer to
symbols in different packages. So there's a sort of natural
precedent for my preference of exporting with a longer name...
> Try
>
> perlfunc system
>
> just for a start.
Surely you mean
perldoc -f system
? :)
Regards,
--
#Aristotle
*AUTOLOAD=*_=sub{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;