I have another puzzle in this line of events.

It's very confusing.  On this code here I'm having trouble
  [- use ANNOUNCESUBMIT;
  $vb = ANNOUNCESUBMIT->new();
  $escmode = 0;
  use Text::Wrap;
  $Text::Wrap::columns = 4500;
  -]
  [- $data = $vb->current -]
  [$ FOREACH $tmp @$data $]
  <H3>[+ $$tmp[0] +]</H3>
[- $escmode = 0 -]
  [- $changed = $$tmp[3] -]
  [- $changed =~ s/\n/<BR>/sg -]
  [+ $changed +]

  [$ ENDFOREACH $]


The EMBPERL LOG is Bizzarre
[28916]EVAL<  $escmode = 0
[28916]TAB:  set EscMode = 0, Used = 0
[28916]TAB:  get EscMode = 0, Used = 1
[28916]EVAL> 0
[28916]SRC: Line 67: [- $changed = $$tmp[3] -]
[28916]EVAL<  $changed = $$tmp[3]
[28916]EVAL> NYLXS Meeting Agenda for January 21st, 2001

The next board meeting for NYLXS will be on January 21st at the Brooklyn Marriott 
Hotel in Downtown Brooklyn.  I hope this is a convenient date for all the board 
members.  I've pushed it in the month because some members will be on vacation until 
mid January.

The board will hold it's informal gathering a 6:30 PM for drinks, dinner  discussion.  
At 7:30 the formal meeting will begin to address the following items:

A - The finance committee will report on the current financial status of the 
organization
B - The board will review the final passed version of the charter and seal it into the 
records
C - The Membership committee will report on it's proposed membership criteria and 
current membership hours which are being accredited to individuals.
D - The website subcommittee will report on it's design recommendation and progress in 
revamping the NYLXS site.
E - The Educational Committee will report on it's plan to expand free software usage 
in  public and private High Schools
F - The Free Software institute will map out publicly syllabus and plans.
G - The Journal Committee will report on it's beginnings of our Journal efforts
and our Dinner plans.

New Business will then be discussed as brought forward from the floor.

Ruben

[28916]SRC: Line 68: [- $changed =~ s/\n/ HELLO <BR>  HELLO/sg -]
[28916]EVAL<  $changed =~ s/\n/ HELLO   HELLO/sg
[28916]EVAL> 17
[28916]SRC: Line 69: [+ $changed +]
[28916]EVAL<  $changed


Which part of [- $escmode=0 -] did I miss?
I finally just hacked \<BR\> into it.
But that leaves my head scratching.

It's been a while since I've done some embperl hacking, but I never remember it doing
anythign this wierd.

I'm supposed to be teaching it in NYC is a few days.

Ruben


On 2002.01.01 20:00:07 -0500 Angus Lees wrote:
>>On Tue, Jan 01, 2002 at 12:36:10PM -0500, Ruben Safir wrote:
>>> On 2002.01.01 11:56:20 -0500 David Lloyd wrote:
>>> >>> How did we get a file into an html page prior to [- Execute ('header.txt') -]
>>> >>
>>> >>I think that Embperl can bugger up spaceship operators and filehandle
>>> >>operators.
>>> >>
>>> >>See if you can try:
>>> >>
>>> >>[- @headers= &lt;FH&gth; -]
>>> >>
>>> >>(last time I looked it tends to think anything between <...> is HTML and
>>> >>chucks it out)
>>
>>[- open FH "<header.txt"; print OUT $_ while <FH>; close FH -]
>>
>>
>>in the interests of least surprise and security, i propose we take the
>>opportunity during 1.x->2.0 to change a few defaults:
>>
>>  optRawInput to be the default behaviour, and have to specify
>>  $ENV{EMBPERL_OPTIONS} |= optHTMLInput;
>>
>>  $escmode = 7;
>>
>>defaulting to optRawInput is bound to break some existing setups, but imho,
>>it needs to be done. (will more cleanly allow optXMLInput, optUnicodeInput,
>>etc in the future too).
>>
>>-- 
>> - Gus
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
-- 
__________________________

Brooklyn Linux Solutions
__________________________
http://www.mrbrklyn.com - Consulting
http://www.brooklynonline.com - For the love of Brooklyn
http://www.nylxs.com - Leadership Development in Free Software
http://www.nyfairuse.org - The foundation of Democracy
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from 
around the net
http://www2.mrbrklyn.com/mp3/hooked.mp3 - Spring is coming....
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....

1-718-382-5752




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to