because you are trying to call a subroutine inside a string... there is a
trick to do this, but I find it unnecessary. you can use printf()
printf new Obj-Phone is %s ,$Obj-phone;
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent:
if ( defined ${($Obj-phone()}) ){
# do smthg
}
and this is always false.
Thanks,
Nicu
-Ursprüngliche Nachricht-
Von: Burak Gürsoy [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 31. Oktober 2003 15:30
An: [EMAIL PROTECTED]
Betreff: RE: OOP and variables!
because you are trying