Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] checking for compile errors of other perl files within perl script

Expand Messages
  • Jeff 'japhy' Pinyan
    ... do() doesn t run programs, it runs Perl files. do this.pl ; And the s are messing you up. The string .. $1 $2 $3 is literally ..$1$2$3 You need to
    Message 1 of 2 , Oct 31, 2003
    • 0 Attachment
      On Oct 31, Electron One said:

      > do "perl -c ..\$1\$2\$3";

      do() doesn't run programs, it runs Perl files.

      do "this.pl";

      And the \'s are messing you up. The string "..\$1\$2\$3" is literally

      ..$1$2$3

      You need to backslash the backslashes. But even better, you can just use
      forward slashes (yes, even on Windows).

      do "../$1/$2$3";

      --
      Jeff "japhy" Pinyan japhy@... http://www.pobox.com/~japhy/
      RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/
      <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course.
      [ I'm looking for programming work. If you like my work, let me know. ]
    Your message has been successfully submitted and would be delivered to recipients shortly.