Hmm... that's odd.
I created a file named "binger", ran the inside of your code and it did rename the file to "Binger."
I would do as was suggested in the previous reply. It seems that the problem is most likely that the $file variable isn't getting set correctly or there are characters i teh name that arent' getting translated with "tr" properly. If you are using full path names, you may...
User Profile
Collapse
-
Hey Jeff
Sorry about that - I will refrain from including links. I assumed it was okay because it's part of the editor selections.
Thanks :)
, MikeLeave a comment:
-
Hey there
The problem looks like it has to do with scoping. Even though this isn't the end-solution, can you write a copy of this code and remove the "my" declarations and see if you get the same error? If you do, then you'll need to refer to the top_xml_node, when you run append_child, absolutely like so:
Best wishes,Code:NameOfModule::top_xml_node->appendChild($top_node)
...Last edited by numberwhun; Dec 17 '07, 03:01 PM. Reason: remove personal URL (per posting guidelines)Leave a comment:
-
Hey There,
The previous post was dead-on. useradd works almost exactly the same way in HP-UX as it does in Solaris.
The issue you had (I'm surprised you didn't get an error message) is that you told useradd (with the -m flag) that you wanted to make the home directory, but not what that directory you wanted created.
The problem was that, by adding the option you were being just specific enough for...Leave a comment:
-
Hey There,
Have you checked catalina.out? If you could post the error from there when you startup, I'd be happy to help you figure it out.
Best wishes,,
, MikeLeave a comment:
-
-
To get you started, you can extract elements from a perl match using parentheses on the left hand side and $ variables on the right
for instance
[code=perl]
$string="what is it"
print "$string\n" ;
$string =~ /^.* (is) .*$/$1/;
print "$string\n" ;
[/code]
first print should get you "what is it"
second print should just be...Leave a comment:
-
Hey There,
Take a look at /etc/modules.conf. If you find a line there for usb, comment it out. Also, try disabling Kudzu.
, Mike...Leave a comment:
-
Hey there,
It depends on what kind of system you're using, but the short answer would be to add a line in most Unix to /etc/inet/inetd.conf or, in Linux add an entry in /etc/xinetd.d for it.
For both you can just borrow from what's probably already there.
In unix, in /etc/inet/inetd.conf, copy any line (probably best at the top) that has the terms "tcp" and "stream" in it and substitute...Leave a comment:
No activity results to display
Show More
Leave a comment: