Hi

If you mean this error:

    syntax error at E:\Perl\source\prob\build.pl line 63, near ") &"

then it's because the code to be executed after the elsif must be in a
block. I don't know what the logic of your program should be, but maybe
somethhing like this:

    elsif ( $dir1 eq 'gaim' or $dir1 eq 'devilspie' )
    {
        &amver;

        system (" ./autogen.sh --prefix=$prefix --sysconfdir=$sys --locals
...
        system 'make';
        system ("checkinstall -R -y --pkgname=$dir1 --pkgversion=$ARGV[0]
...
    }

HTH,

Rob

"Mike" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have the attached sub in code.pl called in the attached build.pl
>
> When I try to call it, I get an error thrown up
>
> Anyone any idea what I am doing wrong?
>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to