Hi all,
I try to acces to the content of an element like that :
$racine is my element and I test to know if the
$racine->content->[1]->content->[0] == undef
exist...

But i've got a nice :"Can't use an undefined value as an ARRAY reference at 
BusPop.pm line 60."
but if I display the dump of the element :

print "racine :".$racine->dump."\n";
if ($racine->content->[1]->content->[0] == undef) {...

It works very well... but it display the $racine->dump before the word "racine" 
like that :
<tr> @0.1.1.0.0.0.0.0.2
  <td> @0.1.1.0.0.0.0.0.2.0
    <a href="http://u21.caramail.com/scripts/contenu.exe?FOLDER=1" 
target="Contenu"> @0.1.1.0.0.0.0.0.2.0.0
      "Bo�te de r�ception"
    " "
  <td align="CENTER"> @0.1.1.0.0.0.0.0.2.1
    <font color="RED"> @0.1.1.0.0.0.0.0.2.1.0
      <b> @0.1.1.0.0.0.0.0.2.1.0.0
        "2"
    " "
  <td align="CENTER" bgcolor="#EEEEEE"> @0.1.1.0.0.0.0.0.2.2
    "3"
  " "
racine :

What's the problem ? How test if the son exist ?

Thank for all

Axel R.

Reply via email to