in reply to Can't use string as an ARRAY ref

G'day OldMonkRum,

Welcome to the Monastery.

The builtin ref() function is what you want here.

— Ken

Replies are listed 'Best First'.
Re^2: Can't use string as an ARRAY ref
by OldMonkRum (Novice) on Oct 07, 2015 at 06:30 UTC
    Hi Ken,

    Thanks a bunch, ref($self->{tlef}) eq "ARRAY" worked like a charm

    Regards

      You're welcome.

      You somehow submitted your thanks twice. Don't worry. Nothing for you to do. I've requested for the second one to be removed. It will disappear in due course.

      — Ken