Re: mirror.debian.net maintenance
On Sat, Mar 29, 2008 at 02:16:32AM +0100, Leo costela Antunes wrote:
> Josip Rodin wrote:
> > It turned out my code wasn't so horrible to port over, so I committed it,
> > it's there now, in
> > http://cvs.debian.org/webwml/english/mirror/mirror_list.pl?root=webwml
> > Although, I may yet have to make that 'use LWP::UserAgent' optional,
> > in order to avoid creating excess dependency for people who don't use
> > the nsupdate mode (the script is used elsewhere). Help appreciated,
> > I can't remember the syntax for that now...
> Perhaps you mean just "require LWP::UserAgent;"?
> To be honest I didn't remember this distinction either.
Oh, yes, I just have to do the require LWP::UserAgent; LWP::UserAgent->import;
in the block and that does what I want (it's a use() without the BEGIN).
Thanks, will do.
2. That which causes joy or happiness.