in reply to Re^2: At which line number did the print statement occure?
in thread At which line number did the print statement occure?
This will print '3' as the line number on my Windows machine.#! /usr/bin/perl -w foo() ; sub foo{ print join(" ", caller); }
|
|---|