- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pearl script
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
Forums
Discussions
Discussions
Discussions
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
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
09-08-2004 10:13 AM
09-08-2004 10:13 AM
pearl script
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 10:34 AM
09-08-2004 10:34 AM
Re: pearl script
If it is a permission issue, then have the root user increase the permissions for you.
If you are not a scripting person, then specific questions could be answered here but full blown analysis of any large script may be a bit to ask.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 10:39 AM
09-08-2004 10:39 AM
Re: pearl script
script i saw this is an executable shell script.So that i was wondering if i can edit it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 10:59 AM
09-08-2004 10:59 AM
Re: pearl script
edit it with vi or your favourite editor
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 04:34 PM
09-08-2004 04:34 PM
Re: pearl script
By normal all user's are allowed to read / write there.
To view it use
cat <scriptname>
It is good to start as by copying that script to some name and do edit there :)
You have to change the new file permission to 755 to execute or as,
perl <script>.pl
- Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2004 07:46 PM
09-08-2004 07:46 PM
Re: pearl script
you may find that the "core" HP-UX Perl interpreter cannot execute (or even compile) your Perl script because it simply is a bit dated.
On older installations they even used Perl 4, and there was a dramatic leap in Perl functionality and syntax between Perl 4 and 5.
Because usually /usr/contrib/bin is in your PATH before most other stuff it could happen that you invoke the Perl 4 interpreter.
I think some HP-UX crash dump analysis tools use this one, therefore *don't* remove it.
Better look if you have a more current Perl installed.
$ perl -v
shows the version of the Perl 1st in PATH
$ perl -V
shows even more (like the important @INC array, where your Perl libs and modules are installed.
Try also
$ /usr/sbin/swlist perl
or
$ /usr/sbin/swlist|grep -i perl
If you get a hit you can look for the bin directory
e.g.
$ /usr/sbin/swlist -l file perl | more
(or whatever the package name is for perl)
Set your environment such that this path comes before the /usr/contrib/bin.
You can then try if you get your Perl script compiled (viz. see if there are no syntax faults)
$ perl -cw /path/to/your/script.pl