in reply to Re^2: next unless not working
in thread next unless not working

Curious, does the LLM explain why these changes should be made? If so can you please post the output?

Replies are listed 'Best First'.
Re^4: next unless not working
by Fletch (Bishop) on Feb 05, 2025 at 17:38 UTC

    Soitanly, nyuk nyuk. I'm using aider talking to a local ollama running qwen2.5-coder and put it in "architect mode" and asked:

    behave as an experienced perl programmer. Look at the attached perl script and give 2-3 suggestions for improvement.

    Edit: Reading back it also caught (but didn't mention) the line ending problem and added chomp which I actually missed. And it improved (but didn't call out) the error message as I mentioned by moving the path into a variable and adding it to the output with $! on the end.

    Second edit: Added output running with deepseek-r1:14b afterwards with the reasoning included.