ACI has asked for the wisdom of the Perl Monks concerning the following question:
Hi there. This is infuriating me and I can't comprehend why it's happening. Best guess is that I've mangled the perl folder somehow. But re-installing the OS (Ubuntu Linux) doesn't help. Have I disabled something? Can I debug somehow? How can I find out why this is suddenly not working? Any assistance deeply appreciated!
File: 'test.pl'
File: 'test-response.pl' (same directory as 'test.pl')print "Hello world!\n"; do 'test-response.pl'; print "Did that work?";
Output:print "Hello Andy!\n";
Hello world! Did that work?
Couldn't be simpler, surely? Done this a million times and never had a problem (unless my code has errors, which is not the problem here).
Thanks in advance!
Andy
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'do' command is dead? Surely not?
by haukex (Archbishop) on May 19, 2017 at 14:00 UTC | |
by ACI (Acolyte) on May 19, 2017 at 14:12 UTC | |
by Eily (Monsignor) on May 19, 2017 at 14:24 UTC | |
by KurtZ (Friar) on May 19, 2017 at 14:28 UTC | |
by davido (Cardinal) on May 19, 2017 at 14:38 UTC | |
by haukex (Archbishop) on May 19, 2017 at 16:27 UTC | |
| |
by syphilis (Archbishop) on May 20, 2017 at 09:49 UTC | |
by ACI (Acolyte) on May 19, 2017 at 14:57 UTC | |
by KurtZ (Friar) on May 19, 2017 at 14:53 UTC | |
| |
by haukex (Archbishop) on May 19, 2017 at 14:25 UTC | |
by ACI (Acolyte) on May 19, 2017 at 14:45 UTC | |
by Corion (Patriarch) on May 19, 2017 at 14:53 UTC | |
|