#!/usr/bin/perl use strict ; use warnings ; package BlaBal ; sub new { return bless {}, __PACKAGE__ ; } sub testabc { print "TEST1\n" ; } package main ; $t1 = 'test' ; $t2 = '123' ; my $obj = new BlaBal ; $obj->${$t1.$t2}() ;
In reply to Re^4: concat method inside method call
by jeanluca
in thread concat method inside method call
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |