You need to quote "%s"

March 22nd, 2009

Description:
Message> You need to quote “%s”

admin Perl

  1. admin
    March 22nd, 2009 at 21:18 | #1

    (W syntax) You assigned a bareword as a signal handler name.
    Unfortunately, you already have a subroutine of that name declared,
    which means that Perl 5 will try to call the subroutine when the
    assignment is executed, which is probably not what you want. (If it IS
    what you want, put an & in front.)

  1. No trackbacks yet.