| Guschtel | f00li5h, yes sorry |
| gnube | avar, Right, some are just undefined. :) |
| f00li5h | Guschtel: no, i would choose " Guschtel: because i suck |
| mauke | avar: no, in the emacs source. I can show you the exact code if you want |
| Guschtel | *g* you can put some default checks before it |
| f00li5h | or better, i would choose "/" Guschtel: do you know the content you're getting is html? |
| Guschtel | yes or plain text |
| gnube | [delta], So you can eliminate your error by declaring the variable in the beginning of your script like this: my $CF_TARGET_DELAY; |
| Guschtel | f00li5h, its only faq entries - only admins can edit it |
| f00li5h | Guschtel: if it's plain text, wrap it in <pre> if it's not, leave it alone or a div with a style attribute (that makes it do \n breaks lines) |
| Guschtel | i googled a little bit with your hints, and $ItemData{$Key} =~ s/(\n)(?=[^>]*?<)/\n\<br\>/g; seems to do it |
| f00li5h | style="whitespace:pre" |
| krinke | ey |
| [delta] | gnube: yes, but the script is included from many other scripts. I want those scripts to be able to customize some vars. But I guess I can use: eval('$varname'); if ($@ eq '') { print 'exists'; } |
| snow_ru | hmm is there any better way to use dbi without any complex installation ? |
| f00li5h | snow_ru: installing dbi is not complex |
| gnube | snow_ru, The installation is not that complex |
| f00li5h | snow_ru: cpan DBI DBD::YourDatabase |
| snow_ru | I have no root you see.. |
| gnube | snow_ru, And once it is install you will be amazed and the simplicity of the interface. |
| f00li5h | snow_ru: did you read the freaking document i told you to read? it's like 3 steps perlbot: non-root |
| perlbot | Using CPAN with a non-root account at http://sial.org/howto/perl/life-with-cpan/non-root/ |
| snow_ru | I came to step 4 |
| gnube | lol |
| f00li5h | snow_ru: NOT COMPLICATED |
| action | EiNZTEiN is away: BRB |
| EiNZTEiN | is away: BRB |
| f00li5h | i managed it |
| snow_ru | but it say: Can not gzopen HOMEDIRFIX/.cpan/...tar.gz |
| f00li5h | did you actually edit the file like it said you should? |
| snow_ru | sure |