Can not get required info from 'caller' at 'DB::sub'

2015-12-06 Thread KES
http://paste.scsys.co.uk/502483 Also it is strange to see the DB::DB is called twice for t3.pl (Notice the line 82, 85 at the paste) The twice call does not occour if I remove 'caller' from t3.pl:4. Like: print 'FROM:'; The output: ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

DB::lsub broke 'caller' results for main programm

2015-12-06 Thread KES
Hi. I hope you will not be angre If I send links: http://paste.scsys.co.uk/502493 on the line 67 I expect: FROM: main - ./t3.pl - 11 This example shows that the client code get info about DB package, but it should not http://paste.scsys.co.uk/502494 You can see that when program is just run