- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Interesting Problem with Perl / C
Operating System - HP-UX
1752546
Members
4919
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-07-2005 11:10 PM
07-07-2005 11:10 PM
Interesting Problem with Perl / C
Hello!
I just came upon an interesting problem:
I wrote a small test programm to test a tool that I installed. It is in Perl and says:
#!/opt/perl5/bin/perl
use RRDp;
RRDp::start "/usr/local/rrdtool-1.2.9/bin/rrdtool";
my $var = "920804400";
print $var;
RRDp::cmd qw(create test.rrd
--start $var
DS:speed:COUNTER:600:U:U
RRA:AVERAGE:0.5:1:24
RRA:AVERAGE:0.5:6:10);
and so on...
Now, if I start it like this, I get an error message from the tool (unparsable time).
If I put the time stamp instead of $var, it works.
I tried single quotes, qw(...), but nothing helped.
The developer of the tool says, that the problem is on my system.
Does anybody know anything about special Quoting-rules under HP-UX. All executables were compiled from C-source.
I appreciate every idea!
I just came upon an interesting problem:
I wrote a small test programm to test a tool that I installed. It is in Perl and says:
#!/opt/perl5/bin/perl
use RRDp;
RRDp::start "/usr/local/rrdtool-1.2.9/bin/rrdtool";
my $var = "920804400";
print $var;
RRDp::cmd qw(create test.rrd
--start $var
DS:speed:COUNTER:600:U:U
RRA:AVERAGE:0.5:1:24
RRA:AVERAGE:0.5:6:10);
and so on...
Now, if I start it like this, I get an error message from the tool (unparsable time).
If I put the time stamp instead of $var, it works.
I tried single quotes, qw(...), but nothing helped.
The developer of the tool says, that the problem is on my system.
Does anybody know anything about special Quoting-rules under HP-UX. All executables were compiled from C-source.
I appreciate every idea!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 11:42 PM
07-07-2005 11:42 PM
Re: Interesting Problem with Perl / C
I solved the problem. The author's example didn't work on HP-UX, instead of his qw(...) I wrote "...." and this was ok.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP