in reply to Re^3: call tree analysis using perl
in thread call tree analysis using perl

I used DATA also but still its throwing up the same error.

Replies are listed 'Best First'.
Re^5: call tree analysis using perl
by Eliya (Vicar) on Feb 15, 2012 at 11:37 UTC

    Then you've likely removed the __END__ part of the script, which is the data that can be accessed via the file handle DATA.  When Perl sees a __DATA__ or __END__ section, it makes the data following it available via the then pre-opened file handle DATA.

    See perldata.