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
|