File::Tail + JavaScript (XmlHttpRequest)

2007-06-08 Thread Steve Finkelstein
TGIF All! I hope my thread is relevant and not off-topic here. If it is, please ignore it and I apologize for taking up your time. I'm currently looking to implement a web function and an OS/X widget utilizing JavaScript's XmlHttpRequest (aka asynchronous javascript, aka AJAX). I thought at first

Re: yet another regex

2007-05-11 Thread Steve Finkelstein
mp;;?$^X=~m.\w+$. :DEVELOPERS;s"$&"Ktsf"i;s^.^chr ord($&)-5^eg;$\=$/;print||" ;) " - sf Tom Phoenix wrote: > On 5/11/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > >> sflinux themes # echo 500 | perl -ple 's|(\d)|length(9 x $1)|eg;' &g

Re: yet another regex

2007-05-11 Thread Steve Finkelstein
Oh, so it goes through each and every character in the original string passed. I thought it takes in the string as one entity and just captures the first digit it can. Does -p make it iterate over each character? Martin Barth wrote: > On Fri, 11 May 2007 17:50:41 -0400 > Steve Finke

yet another regex

2007-05-11 Thread Steve Finkelstein
Yep, I'm stumped on what appears to be simple. Would anyone care to explain the following? sflinux themes # echo 500 | perl -ple 's|(\d)|length(9 x $1)|eg;' 500 essentially, (\d) should match just the '5' in 500. that puts $1 == the literal 5. so you take length(9 x 5) which is nine repeated 5 t

Re: OT: Duplicate messages

2007-05-10 Thread Steve Finkelstein
I did receive three duplicates from Tom Phoenix's reply to a thread I posted earlier this evening. BTW, thanks a lot Tom, I appreciate the educational insight. :-) - sf [EMAIL PROTECTED] wrote: > I am not getting duplicates. > > jerry > >> nope. >> >> >> >> -Original Message- >>> From:

References inquiry

2007-05-10 Thread Steve Finkelstein
Hi all, I'm looking at some sample code from an opensource software package, and had a question on the the usage of '\' in the following: $auth_backends = { struct_validator => { sufficient => 1, driver => 'AuthStruct', username => \ &common

Re: hellp improve efficiency

2007-04-28 Thread Steve Finkelstein
Perhaps I'm misunderstanding what you're ultimately trying to accomplish. However, if you're doing what I think you're doing and you're using Apache, look into mod_rewrite: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html - sf Jen mlists wrote: > Hello members, > > I wrote a perl script for

HTML::TableExtract example

2005-11-23 Thread Steve Finkelstein
). Any hints would be greatly appreciated! Thanks and have a great holiday weekend. -- Steve Finkelstein [EMAIL PROTECTED]