Hi.

The codes 'system("> ../tmp/<filename>.tmp");' are related to some temporary files my script uses. This only creates empty files.

I tried to use 'use lib "subs"' on my code, but the problem persists. All my subs are located inside my "subs" directory. And, when I put it on @INC via 'use lib', the problem occurs again:

===
D:\documents and settings\r330293\Desktop\ns2html-0.4.6-win32\bin>ns2h +tml.exe Can't locate subs\AddrCreator.pl in @INC (@INC contains: CODE(0x130067 +4) CODE(0x115f914) CODE(0x115fc64)) at script/ns2html.pl line 31.
===

I´ve not created any .pm module. So, I think using ns2html.pm is not a quick solution for me now.

I think my program dies just on its beginning, on this track of code:

===
#!perl ###################################################################### +#### # NS2HTML - The Netscreen to HTML file converter ###################################################################### +#### # Copyright (C) by # - 2007: Rodrigo Pace de Barros <rodrigo.pace.barros@gmail.com> # # This program is free software; you can redistribute it and/or modi +fy # it under the terms of the GNU General Public License as published +by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # ###################################################################### +#### # # File: ns2html.pl # is a part of NS2HTML # ################# # use lib "subs"; # use Tk; use Tk::LabFrame; use Getopt::Std; use encoding 'latin-1'; use File::Basename; use Tk::BrowseEntry; use File::Copy::Recursive; # require 'subs\\AddrCreator.pl'; require 'subs\\CreateIndex.pl'; require 'subs\\IfCreator.pl'; require 'subs\\ReadConf.pl'; require 'subs\\RouteCreator.pl'; require 'subs\\RuleCreator.pl'; require 'subs\\subs.pl'; require 'subs\\SvcCreator.pl'; require 'subs\\Log.pl';
===

Thanks again!

Rodrigo

In reply to Re^8: Problem in @INC using PAR::Packer on Windows by rodrigo.pace.barros
in thread Problem in @INC using PAR::Packer on Windows by rodrigo.pace.barros

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.