syphilis has asked for the wisdom of the Perl Monks concerning the following question:
This outputs exactly what I expect and want - namely:use warnings; use Inline C => <<'EOC'; void foo() { printf("HELLO"); } EOC for(1..3) { foo(); print "\n"; }
But on my linux (mandrake-9.1) box the same script produces (transcribed):C:\_32\pscrpt\inline>perl try.pl HELLO HELLO HELLO C:\_32\pscrpt\inline>
I'm wanting to see essentially the same as appears on the win32 box - that is, I want to see the same as would be output by print "HELLO\nHELLO\nHELLO\n";.[rob@localhost inline]$ perl try.pl HELLOHELLOHELLO[rob@localhost inline]$
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [OT]: Flushing XS buffers portably
by derby (Abbot) on Aug 31, 2007 at 13:01 UTC | |
by syphilis (Archbishop) on Aug 31, 2007 at 13:46 UTC | |
by almut (Canon) on Aug 31, 2007 at 14:04 UTC | |
by syphilis (Archbishop) on Aug 31, 2007 at 14:18 UTC | |
by almut (Canon) on Aug 31, 2007 at 14:38 UTC | |
|