P
Petterson Mikael
Hi,
I am new to perl.
I am a user of a perl script on solaris.( perl 5.6.1)
Since we are switching to linux we need to run the script with linux
perl (5.6.1). When I try to run the script on linux I get:
use: Command not found
use: Command not found
.......
The script contains:
# Standard includes
#---------------------------------
use Tk;
use strict;
use Tk::Balloon;
use Tk::BrowseEntry;
use Getopt::Long;
use IPC::ClearTool;
use lib "/vobs/rbs/sw/rbssw_tools/perllib";
use guiTools;
use deliverTools;
use ProgressBar;
use Label:esign;
use Label::Base;
use CC;
use SysAdmin qw(getRealName sendReport);
use Tk:LDialogBox;
use Text::Wrap;
use IO::Handle;
use File::Spec;
use File::Copy;
use File::Temp qw(tempfile);
use POSIX qw(strftime);
use FindBin;
use Trace;
use Tk::CheckEntry;
use Tk:LDialogMCListBox;
use Tk:LDialogListBox;
use lib "$FindBin::RealBin/plugin";
use PluginMgr;
Can I download these modules in a local directory
(/home/eraonel/perl-5.6.1) and refer to that in the script? ( I cannot
download the modules and install the in the correct directory
(/app/perl/5.6.1/lib/site_perl/5.6.1).
All hints appreciated.
Cheers,
//mikael
I am new to perl.
I am a user of a perl script on solaris.( perl 5.6.1)
Since we are switching to linux we need to run the script with linux
perl (5.6.1). When I try to run the script on linux I get:
use: Command not found
use: Command not found
.......
The script contains:
# Standard includes
#---------------------------------
use Tk;
use strict;
use Tk::Balloon;
use Tk::BrowseEntry;
use Getopt::Long;
use IPC::ClearTool;
use lib "/vobs/rbs/sw/rbssw_tools/perllib";
use guiTools;
use deliverTools;
use ProgressBar;
use Label:esign;
use Label::Base;
use CC;
use SysAdmin qw(getRealName sendReport);
use Tk:LDialogBox;
use Text::Wrap;
use IO::Handle;
use File::Spec;
use File::Copy;
use File::Temp qw(tempfile);
use POSIX qw(strftime);
use FindBin;
use Trace;
use Tk::CheckEntry;
use Tk:LDialogMCListBox;
use Tk:LDialogListBox;
use lib "$FindBin::RealBin/plugin";
use PluginMgr;
Can I download these modules in a local directory
(/home/eraonel/perl-5.6.1) and refer to that in the script? ( I cannot
download the modules and install the in the correct directory
(/app/perl/5.6.1/lib/site_perl/5.6.1).
All hints appreciated.
Cheers,
//mikael