automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Current problems


From: Derek R. Price
Subject: Re: Current problems
Date: Wed, 28 Feb 2001 11:50:50 -0500

Akim Demaille wrote:

> # Now do all the work on each file.
> foreach my $am_file (@input_files)
> {
>     if (! -f ($am_file . '.am'))
>     {
>         &am_error ("\`" . $am_file . ".am' does not exist");
>     }
>     else
>     {
>         &generate_makefile ($output_files{$am_file}, $am_file);
>     }
> }
>
> and there is a sub:
>
> # Print an error message and set exit status.
> sub am_error
> {
>     warn "$me: ${am_file}.am: @_\n";
>     $exit_status = 1;
> }

Only a global is going to be seen within a separate function...

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
I will not hide behind the Fifth Amendment.
I will not hide behind the Fifth Amendment.
I will not hide behind the Fifth Amendment...

          - Bart Simpson on chalkboard, _The Simpsons_






reply via email to

[Prev in Thread] Current Thread [Next in Thread]