but let's say
$str="abcd('','\\'Hello'\\','don\\'t','blah')";
I want it to return four things: "","\\'hello\\'","don't", and "blah".
I don't think the above rexexp would do that, but thanks for the help.
I've searched several places for an answer to this, but haven't found one, so here goes:
I have a string that looks something like this:
abcd('blah','blahblah','blee')
and I want a regexp to match and return everything inside two single quotes. In this case, blah, blahblah, and blee. There...
Thanks for your reply. I found this shortly after my post, and attempted to implement a pipe. As you can see, in the code above, there would be multiple forks writing to the pipe (wich the parent listening). There only seems to be one fork (the first) getting through. After the wait block,
I...
I have the code below. As you can see, in the child processes, I'd like to
have data pushed onto an array (@test). However, nothing ever gets pushed.
I've tried push, I've tried setting $test[$x]=time; I've tried using
scalars, I just can't get any data out of the fork()ed processes.
What's...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.