develooper Front page | perl.perl5.porters | Postings from February 2015

Re: [perl #123775] Args to 'system' not evaluated before forking,making $$ wrong

Thread Previous | Thread Next
From:
Eric Brine
Date:
February 12, 2015 19:43
Subject:
Re: [perl #123775] Args to 'system' not evaluated before forking,making $$ wrong
Message ID:
CALJW-qEHV7iUKChZPA_jywg83PhdHT6cxwx76R35HW5O1EBmdA@mail.gmail.com
The workaround is to replace

system(..., $$, ...)

with

system(..., "$$", ...)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About