problem on test perlu trigger function.

Поиск
Список
Период
Сортировка
От Piaff33z
Тема problem on test perlu trigger function.
Дата
Msg-id 4AA1F495.2050602@gmail.com
обсуждение исходный текст
Ответы Re: problem on test perlu trigger function.
Список pgsql-interfaces
Hello,

I have a problem on a test directory on my trigger function.
For information, i use a 8.0.21 version of perl.

To make things simple, i make a perlu function trigger on when i modify 
a row, i try to test the existence of a directory. I have the impression 
that this test
does not work :-(

my function...

..
if (! -d  "$PATHBASE/$_TD->{new}{categorie}") {         `sudo -u http mkdir "$PATHBASE/$_TD->{new}{categorie}"`;
}
...

Sudo function is performed in spite of the presence of directory ! It as 
if  "-d" serve has nothing...

Anybody knows why?

Vic



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: SERIOUS BUG IN DBD::Pg 2.14.0 for bigint types
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: problem on test perlu trigger function.