At 5:14 pm -0600 21/1/04, Ken Williams wrote:
I think IPC::Run can do this nicely, but I haven't exactly tested it:
use IPC::Run qw(run);
run('osascript', \$ass, \$asresult);
Can you provide a real working example. I find the Synopsis of
IPC::Run a little obscure.
Thanks.
JD
On Wed, Jan 21, 2004 at 10:39:09PM -0600, Ken Williams wrote:
This is probably because 5.6 expands the whole for(...) list in
advance, but 5.8 evaluates it lazily.
Ah, but I'm using stock Perl on Panther, which is 5.8.1-RC3. It also
happens on my Debian Unstable box which is running 5.8.2.
I'm working on a linguistic module and I'm trying to
find a good way to split a string up into segments.
I can't assume single charecter strings and want to
assume maximal segments. As an example, the word
church would be rendered as the list ('ch', 'u',
'r', 'ch') and wouldn't break the ch up
On 23 Jan 2004, at 01:21 pm, wren argetlahm wrote:
I'm working on a linguistic module and I'm trying to
find a good way to split a string up into segments.
I can't assume single charecter strings and want to
assume maximal segments. As an example, the word
church would be rendered as the list
On Thu, 22 Jan 2004, wren argetlahm wrote:
I'm working on a linguistic module and I'm trying to
find a good way to split a string up into segments.
Your definition os segment here is vague; is it safe to ignore that and
just accept that a canonical list of each language's 'segments' is a
--- Bill Stephenson [EMAIL PROTECTED] wrote:
You need to get a book on regex's.
I know the solution lies in regex's, the problem is
that I can't quite figure out a generic enough way of
doing it. The problem is for a module and so the list
of valid segments is user defined. I guess I could do