There is a file named \*.iso, where `*` is any string (dot, numbers, alphabets, spl characters).

\*.iso is located at /dm2/www/html/isos/preFCS5.3/ 

I want to get this filename into $filename. I know it's very simple. How can I do this in Perl?
['https://Stackoverflow.com/questions/6856491', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/713200/']
Destructor of the Base class will be automatically called by the compiler, when your objet life time ends. you do not need to call it explicitly.

```
TMyObject::TMyObject() : TObject()

```

Does not inherit the constructor.  

It is called as **[Member initializer list](https://stackoverflow.com/questions/6724626/c-constructor/6724639#6724639)** and it initializes the Base class object with a particular value.

When you create the object.

```
TMyObject obj;

```

The constructors will be called in order: 

```
constructor of TObject
constructor of TMyObject 

```

When the object life time ends the destructors will be called in the order:

```
destructor of TMyObject 
destructr of TObject

```

The compiler will do so for you, do not need to call it explicitly.
What's causing the confusion to you is that you can specifically mention "which" constructor of the base class you want to use as in the following example. But you can't/ don't need to specify the destructor.

```
TMyObject::TMyObject() : TObject()

```

You could use a different constructor, say `TObject (int i)` by writing

```
TMyObject::TMyObject() : TObject (3)

```

An object can be destructed in only one way but it can be constructed in several ways (by having different constructors).

So, in short, you don't need to mention the name of the base class destructor in the derived class destructor. As soon as you destroy the derived object (say, by doing `delete derivedObj`), it will first call the derived class destructor and then base class destructor by itself.