value of variable switches from ' ' to 'value'

2007-06-16 Thread Mathew Snyder
I'm trying to figure out what exactly a script I wrote (see the attachment) is doing by stepping through it in the debugger. I have an array of dates in %Y-%m-%d format for each of the last 7 days. So, for instance, the range of dates for today (June 17, 2007) is from the 10th to the 16th. I the

Re: character encoding & regex

2007-06-16 Thread Mumia W.
On 06/16/2007 05:01 PM, Tom Allison wrote: Mumia W. wrote: On 06/16/2007 02:29 PM, Tom Allison wrote: I'm trying to do some regular expression on strings in email. [...] And with unicode and locales and bytes it all gets extremely ugly. I found something that SpamAssassin uses to convert all

Re: character encoding & regex

2007-06-16 Thread Tom Allison
On Jun 16, 2007, at 6:05 PM, Tom Phoenix wrote: On 6/16/07, Tom Allison <[EMAIL PROTECTED]> wrote: I'm trying to do some regular expression on strings in email. They could be encoded to something. But I can't tell because I don't have a utf8 unicode xterm window that will show me anythin

Re: character encoding & regex

2007-06-16 Thread Tom Phoenix
On 6/16/07, Tom Allison <[EMAIL PROTECTED]> wrote: I'm trying to do some regular expression on strings in email. They could be encoded to something. But I can't tell because I don't have a utf8 unicode xterm window that will show me anything. At best I get ?a?? and other trash like that.

Re: character encoding & regex

2007-06-16 Thread Tom Allison
Mumia W. wrote: On 06/16/2007 02:29 PM, Tom Allison wrote: I'm trying to do some regular expression on strings in email. They could be encoded to something. But I can't tell because I don't have a utf8 unicode xterm window that will show me anything. At best I get ?a?? and other trash

Re: character encoding & regex

2007-06-16 Thread Mumia W.
On 06/16/2007 02:29 PM, Tom Allison wrote: I'm trying to do some regular expression on strings in email. They could be encoded to something. But I can't tell because I don't have a utf8 unicode xterm window that will show me anything. At best I get ?a?? and other trash like that. I thin

character encoding & regex

2007-06-16 Thread Tom Allison
I'm trying to do some regular expression on strings in email. They could be encoded to something. But I can't tell because I don't have a utf8 unicode xterm window that will show me anything. At best I get ?a?? and other trash like that. I think this is typical for ascii text renderings

Re: Comparing the Perl encrypted files

2007-06-16 Thread Chas Owens
On 6/15/07, sivasakthi <[EMAIL PROTECTED]> wrote: > text mode: Line endings are translated to/from Perl's end-of-line > character "\n" to the host operating system's end-of-line character > (CRLF for DOS based machines, LF for UNIX based machines, etc.) > > binary mode (aka raw): No translations

Re: Why am I getting the error (Maybe you meant system() when you said exec()?) ??

2007-06-16 Thread jreljac
Thanks all...that was a huge help. Once I changed to system() everything started to work as I wanted it to. Thanks again, Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/