OK, confession time (yes, I'm using bloody outlook. Yes I'm at work. That's why 
I can't quote properly...)

The reason I couldn't see my output was because I was doing:

foreach ( @ARGV) {
        print( STDERR "\targ: " + $_ + "\n");
}

And so, of course, I was getting a sequence of zeros, one for each argument, 
and couldn't understand what was going on. When I fixed that to 

$argn = 0;
foreach ( @ARGV) {
        print( STDERR "\targ ". $argn++. ": " . $_ . "\n");
}

things proceeded a little faster.

I've actually made some useful progress today which I shall post in a separate 
post to the list, but as usual I thank you for your exceedingly prompt and 
helpful replies.

Cheers

Simon


-----Original Message-----

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kristis Makris
Sent: 07 May 2008 16:58
To: Simon Brooke
Cc: [email protected]
Subject: Re: [scmbug-users] Logging output from scmbug_activity.pl - where?


On Wed, 2008-05-07 at 12:17 +0100, Simon Brooke wrote:
> I'm trying to fix scmbug to auto-detect product names with CVS 
> 1.12.13. I have to confess that progress is slow, partly because I'm 
> no Perl expert, and partly because I'm having to fit it in around 
> other work. However I've failed to make scmbug-activity.pl run in a 
> test environment outside CVS, because I've failed to understand what 
> should be passed by the %l placeholder in verifymsg (yes, I know it's 
> a filename, but I haven't worked out what file, nor what syntax); I've 
> also failed to get any debugging output to print when 
> scmbug-activity.pl is run in the CVS process.
> 
> So, questions in order:
> 
> What is the syntax of the file which will be passed as %l?

Why are you looking at %l ? You should be looking at %p.

> Can I get the STDERR from scmbug-activity to go somewhere particular, 
> and if so how?

stderr already goes to your terminal.

Simon Brooke, Software Specialist
Cygnet Solutions Ltd
Registered office: Swan House, Darvel, Ayrshire, Scotland, KA17 0LP
Registered in Scotland No. SC158059
mail: [EMAIL PROTECTED]
www: http://www.cygnets.co.uk
tel: +44(0)1560 323444
fax: +44(0)1560 323432

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to