Akim Demaille wrote:
> "Derek R. Price" <[EMAIL PROTECTED]> writes:
>
> > Only a global is going to be seen within a separate function...
>
> Right, but `my' at the top level is a global. The problem was really
> related to the specific semantics of foreach.
Huh. You're right. I didn't believ
"Derek R. Price" <[EMAIL PROTECTED]> writes:
> Only a global is going to be seen within a separate function...
Right, but `my' at the top level is a global. The problem was really
related to the specific semantics of foreach.
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)
Akim Demaille <[EMAIL PROTECTED]> writes:
> Is there anything special about foreach loops?
man perlsyn
Foreach Loops
The `foreach' loop iterates over a normal list value and
sets the variable VAR to be each element of the list in
turn. If the variable is preceded w
Akim Demaille <[EMAIL PROTECTED]> writes:
> 2. error messages
>for some reason I did not track down, am outputs only the suffix
>(.am), instead of the name of the bad file (Makefile.am).
Tracked down, and I have a fix, but given that I don't understand why
it behaves this way, I'd like s
Akim Demaille <[EMAIL PROTECTED]> writes:
> 4. handle_factored_dependencies
>is outputting in an order which is not the one I want.
>I have not understood why, nor why it suddenly changed. In
>particular .PHONY is no longer last as it should.
Solved. From perldelta (I'm running 5.6
1. instdata2.test
I think this time I understood what must be done, but given that
there are impossible combinations between primaries and dirs, I'd
like someone to fix the test itself, then I'll know exactly what
is to be done.
2. error messages
for some reason I did not track do