Re: MacPerl-AnyPerl reading multiple cookies by Bart Lateur- August 17, 2003 On Sun, 17 Aug 2003 11:52:35 +0200, Eelco Alosery wrote:>I want to read multiple cookies, there names al start whith PLUG but al >whit a diverent number like PLUG10 and PLUG14 and zo on.>These cookies al contain data in the same format like >namepriceamountnumber>>Now I want to read these cookies and display them in a html page >generated bij perl.>>I know how to read 1 cookie but the number of the cookie is never the >same, zo i must read all the cookies starting..http://www.nntp.perl.org/group/perl.macperl.anyperl/2003/08/msg265.html reading multiple cookies by Eelco Alosery- August 17, 2003 I want to read multiple cookies, there names al start whith PLUG but al whit a diverent number like PLUG10 and PLUG14 and zo on.These cookies al contain data in the same format like namepriceamountnumberNow I want to read these cookies and display them in a html page generated bij perl.I know how to read 1 cookie but the number of the cookie is never the same, zo i must read all the cookies starting whit PLUG and remember the number after the name for later deletings or changing of a...http://www.nntp.perl.org/group/perl.macperl.anyperl/2003/08/msg264.html Re: MacPerl-AnyPerl regexp matching newline by Bart Lateur- August 16, 2003 On Wed, 13 Aug 2003 19:34:51 +0200, allan juul wrote:>i have a problem removing blank lines in one regexp. my string will be >slurped so it will contain newlines as examplified below:>>my $str = qq(test0;>test1;>test2;>test3;);>>$str = s,..+;$,,igm;>>print $str;>>__END__>>>>this is the result:>--------------------->test0;>test1;>>test3;>>>>i want t achieve:>---------------------->test0;>test1;>test3; $str..http://www.nntp.perl.org/group/perl.macperl.anyperl/2003/08/msg263.html Re: MacPerl-AnyPerl regexp matching newline by John Delacour- August 16, 2003 At 11:45 pm +0100 16803, John Delacour wrote:>At 7:34 pm +0200 13803, allan juul wrote:>>>>i want t achieve:>>---------------------->>test0;>>test1;>>test3;>>>I&39;d do it like this:>>...>foreach (lines) > s ;> print qq$_$newlinechar ;>Sorry -- I misread your last bit. I&39;d do it like this:!usrbinperlmy $newlinechar = $ ;my lines = split $newlinechar, <<END_OF_LINES;test0;test1;test2;test3;END_OF_LINESforeach (lines).http://www.nntp.perl.org/group/perl.macperl.anyperl/2003/08/msg262.html |