Re: Track user login status

2010-07-10 Thread Jeff Pang
-Original-Nachricht- > Subject: Track user login status > Date: Sun, 11 Jul 2010 03:33:27 +0200 > From: Mimi Cafe > To: > > I am using Apache::Session to manage my cgi sessions, so to achieve > this, I am thinking of sending a token with each page to the user > which they will return

Track user login status

2010-07-10 Thread Mimi Cafe
My application has certain restriction so only users you are logged in should have access to. I want to present a login form to users who are not logged on. Once they have logged in they should only see 'log out' instead. I am using Apache::Session to manage my cgi sessions, so to achieve thi

Re: I don't wont to create more lines of code then the necessary

2010-07-10 Thread C.DeRykus
On Jul 9, 9:08 am, ole...@gmail.com (marcos rebelo) wrote: > > On Fri, Jul 9, 2010 at 3:42 PM, Chas. Owens wrote: > > On Fri, Jul 9, 2010 at 09:22, Chas. Owens wrote: > > snip > >> { > >>    my @temp = split /\n/, "first\nsecond\nthird"; > >>    xpto @temp; > >> } > > snip > > > Or you use the [C

Re: Piping commands into cli perl

2010-07-10 Thread Damon Allen Davison
On Sat, Jul 10, 2010 at 1:35 AM, Steve Bertrand wrote: > lib/ISP/Transac.pm   credit_card_payment > lib/ISP/Transac.pm   calculate_invoice_amount [...] > ...by appending the following lines to the above pipeline, and throwing > it at perl with the -p arg: > > % egrep -r "sub \w+ {" * \ >  | grep -