if($ENV{'SERVER_NAME'} ne "50free.net") { $db = DBI->connect("DBI:mysql:nikos_db", "root", ""); } else { $db = DBI->connect("DBI:mysql:nikos_db:50free.net","nikos_db","macg +yver"); } unless($db) { print font({-size=>5, -color=>'Lime'}, $DBI::errstr); exit(0) }
In reply to Re: Ternary confusion
by esskar
in thread Ternary confusion
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |