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

Re: 5.12 to 5.14 conversion script

Expand Messages
  • Ricky
    wow, with full path (both for input and for output) the script works! so simple so hidden ... thankyou for pointing me in the right path
    Message 1 of 4 , Apr 29 2:39 AM
    View Source
    • 0 Attachment
      wow, with full path (both for input and for output) the script works!
      so simple so hidden ... thankyou for pointing me in the right "path"

      --- In PCGenListFileHelp@yahoogroups.com, "joefrazierjr"
      <jfrazierjr@...> wrote:
      >
      > --- In PCGenListFileHelp@yahoogroups.com, Ricky <iainuki@> wrote:
      > >
      > > to me, the script still doesn't function (both 0.55 and 0.56).
      > > i run on windows xp (sp1, perl 5.10.0) and ubuntu 7.10 (perl 5.8.8)
      > and for both the same command line (into foo directory there are all
      > my lst in various subdirectory):
      > > perl convert_514_v056b.pl -I=foo -O=test
      > >
      > > the first error that give to me is:
      > > Can't open output file: Nessun file o directory at convert_514.pl
      > line 181.
      >
      >
      >
      > > with perldoc at hand i modified the open to
      > > open( OFH, ">", \$output_file )
      > > on line 181 and 39.
      >
      >
      >
      >
      > You just created a reference to $output_file and that won't work since
      > the open function is expecting a string. Dumb question, but why
      > don't you just properly qualify your commandline parameters path to
      > your directory as you are calling it?
      >
      > Where are your foo and test directories? If off the root, do
      >
      > Linux:
      > perl convert_514_v056b.pl -I=/foo -O=/test
      >
      > Windows:
      > perl convert_514_v056b.pl -I=DRIVE:/foo -O=DRIVE:/test
      >
      > Otherwise, insert the full path. for both parameters.
      >
      > Joe
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.