in reply to Re: Perl script 'hanging' a server?
in thread Perl script 'hanging' a server?

Thats a thought, and if all those back quotes really were shelling out, that would indeed do bad things. However, i believe you'll find that back quotes do not infact open and execute shell commands when they're embedded in double/single quotes.
  • Comment on Re: Re: Perl script 'hanging' a server?

Replies are listed 'Best First'.
(tye)Re: Perl script 'hanging' a server?
by tye (Sage) on Oct 23, 2002 at 03:11 UTC

    ...in Perl. That is, in many shells, "this `is` that" does try to run the 'is' command, but Perl does not do that.

    From perlop:

    In particular, contrary to the expectations of shell programmers, back-quotes do NOT interpolate within double quotes, nor do single quotes impede evaluation of variables when used within double quotes.

    The only characters that are special inside of double quotes are $, @, \, and your delimiter(s). For example, inside qq{}, the special characters are $, @, \, {, and }.

            - tye (but "my friends don't run `Tye`")