Re: Example of OOP cgi ?

2001-06-16 Thread Brett W. McCoy
On Sat, 16 Jun 2001, Steve Howard wrote: > Can someone point me to an example of a completely Object Oriented CGI > script. The Perldoc examples are procedural, but there must be a good OOP > example somewhere for me to tear apart and learn that technique from. The CGI module itself is object-or

Example of OOP cgi ?

2001-06-16 Thread Steve Howard
Can someone point me to an example of a completely Object Oriented CGI script. The Perldoc examples are procedural, but there must be a good OOP example somewhere for me to tear apart and learn that technique from. Thanks, Steve Howard

Re: regex question

2001-06-16 Thread Ãèªá¤ô¤ë
How you get the data? From a CGI-FORM? or STDIN? Suppose you get the data from a string format... I will do in this way.. $value_list =~ s/,/COMMA/eg; @data = split(/,/, $value_list); ... expressions. ... expressions. ... expressions. ($d0_value0, d0_$value1, $d0_value2) = split(/CO

Re: regex question

2001-06-16 Thread Hasanuddin Tamir
On Fri, 15 Jun 2001, Robert Watterson <[EMAIL PROTECTED]> wrote, > Hi all, > > I have a line that has each field separated by commas. However, some of > individual fields are double quoted strings and also have embedded commas in > them. for example: > > Value1,"Value2, blah,blah,blah",Value3,"V