in reply to How to do perl -c inside perl?
However I have found that backtick sometimes isn't supported well enough on Windows, whereas system() more often is.
Que? backticks (and qx//) are both fully supported on windows. What makes you think otherwise?
Eg.:
C:\test>perl -E"say `perl -c -Mstrict -we\"my \$l = 365.25***3\"` " -e syntax OK
Of course, Aok from the syntax check doesn't always mean the code does what you expect or want :)
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to do perl -c inside perl? (quoting)
by tye (Sage) on Aug 28, 2012 at 16:44 UTC | |
by BrowserUk (Patriarch) on Aug 28, 2012 at 18:49 UTC | |
Re^2: How to do perl -c inside perl?
by rockyb (Scribe) on Aug 28, 2012 at 16:16 UTC | |
by BrowserUk (Patriarch) on Aug 28, 2012 at 16:40 UTC | |
by rockyb (Scribe) on Aug 28, 2012 at 18:29 UTC | |
by BrowserUk (Patriarch) on Aug 28, 2012 at 18:53 UTC | |
by rockyb (Scribe) on Aug 28, 2012 at 19:29 UTC | |
| |
by rockyb (Scribe) on Aug 29, 2012 at 02:46 UTC | |
by rockyb (Scribe) on Aug 29, 2012 at 06:51 UTC | |
|
In Section
Seekers of Perl Wisdom