- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Term::ANSIScreen Perl module
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 12:30 PM
тАО02-06-2007 12:30 PM
I want to use above perl module in a perl script. When I check the packages installed in the depository using PPM, I see the module description.
ppm> describe Term-ANSIScreen ====================
Name: Term-ANSIScreen
Version: 1.42
Author: (cpan@audreyt.org)
Title: Term-ANSIScreen
Abstract: Terminal control using ANSI escape sequences
Location: ActiveState Package Repository
Available Platforms:
1. IA64.ARCHREV_0-thread-multi-LP64-5.8
2. PA-RISC1.1-thread-multi-5.8
3. PA-RISC2.0-thread-multi-LP64-5.8
But when I use it in the script as
use Term::ANSIScreen;
It gives the error
Can't locate Term/ANSIScreen.pm
I searched the ANSIScreen.pm file and it is not in the distribution.
Do I need to install ANSIScreen.pm separately?
I guess the module is already there inbuilt thats why it is show in PPM?
Can anyone out there comment on this?
Solved! Go to Solution.
- Tags:
- Perl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 12:43 PM
тАО02-06-2007 12:43 PM
Re: Term::ANSIScreen Perl module
ppm> query Term-ANSIScreen
If it isn't installed, you'll see "No matches for...". In that case, use install to install from ppm to install it.
ppm> install Term-ANSIScreen
hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 12:56 PM
тАО02-06-2007 12:56 PM
SolutionThis module isn't included in the core distribution.
A simple test of a module's presence is to do:
# perl -MTerm::ANSIScreen -e 1
If installed, nothing will be returned. If not installed, an error beginning with "Can't locate" will be seen.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 04:45 AM
тАО02-07-2007 04:45 AM
Re: Term::ANSIScreen Perl module
Thanks to both of you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 04:48 AM
тАО02-07-2007 04:48 AM
Re: Term::ANSIScreen Perl module
Sorry Denver, 5 points to your reply by my mistake. I wanted to give full marks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 05:02 AM
тАО02-07-2007 05:02 AM
Re: Term::ANSIScreen Perl module
Thought that was a MakeMaker kludge for Windows hosts?
The test James showed should suffice
if the module was installed properly
or you would have to use the -I switch with path that should be unshifted to @INC.
But then you already knew the presence of what you were quereing ;-)
You could also try "perldoc perllocal".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 05:19 AM
тАО02-07-2007 05:19 AM
Re: Term::ANSIScreen Perl module
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 05:29 PM
тАО02-07-2007 05:29 PM
Re: Term::ANSIScreen Perl module
Your replies are appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2007 05:32 PM
тАО02-07-2007 05:32 PM