Thank you. I'm sorry about not telling a lot. All I have is that this "just fails".
I'm trying to parse this configuration file:
;;; ;;; Config File ;;; ;;; ;;; Database connection ;;; [ database ] driver='dbi:Pg:dbname=ripcurl;host=capricornio' hostname=capricornio.int.ibex.com.br dbname=ripcurl dbuser=rcb passwd=ripcurl ;;; ;;; Template Toolkit ;;; [ template ] path = /home/champs/projects/ripcurl/template/ trim = 1 pre_chomp = 1 post_chomp = 1 ;;; default_template = ;;; ;;; Site map ;;; [ pages ] login = 'template/login.tt' ;;; ;;; HTTP Related config ;;; [ www ] base_url = http://rcb/ cgi_url = http://rcb/cgi-bin/ ;;; ;;; Entry points ;;; [ urls ] main = main.pl ;;; ;;; Cookies ;;; [ cookie ] domain = 'rcb' path = '/' ;;; ;;; CGI::Session ;;; [ session ] ;;; Session ends in 30 minutes expire = '+30m' send_cookie = 'yes'
And I allways get an undef value at the end.
Any kind of suggestions would be nice.
Thank you very much and may the gods bless you for this.
In reply to Re^2: A gentle soul to verify a Config::Simple based object?
by monsieur_champs
in thread A gentle soul to verify a Config::Simple based object?
by monsieur_champs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |