Venkatesh wrote:
Hi,

When trying to debug viewCSR using the method 'debug_cmds()' in
misc-utils.lib, received compilation error. (General error 700) at line
$_[0] = .... I think this is not allowed ..... correct me if i am wrong.

sub debug_cmds
{
our $DEBUG;
return 1 if (not $DEBUG);
$_[0] = "cmds->".$_[0];
debug (@_);
}

I have no problems with this function because $_ is writable (see examples in "man perlvar"). Nevertheless I fixed the function a little bit and now there should be no longer a problem.


sub debug_cmds
{
    our $DEBUG;
    return 1 if (not $DEBUG);

    my $cmd = shift;
    $cmd = "cmds->".$cmd;
    debug ($cmd, @_);
}

Michael
--
-------------------------------------------------------------------
Michael Bell                   Email: [EMAIL PROTECTED]
ZE Computer- und Medienservice            Tel.: +49 (0)30-2093 2482
(Computing Centre)                        Fax:  +49 (0)30-2093 2704
Humboldt-University of Berlin
Unter den Linden 6
10099 Berlin                   Email (private): [EMAIL PROTECTED]
Germany                                       http://www.openca.org



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to