Post without Account — your post will be reviewed, and if appropriate, posted under Anonymous.

[RT 123722] split deprecate

  • 0 Replies
  • 332 Views
*

Offline Phil

  • Global Moderator
  • Sr. Member
  • *****
  • 356
    • View Profile
[RT 123722] split deprecate
« December 25, 2017, 07:32:37 PM »
 PhilterPaper commented on Nov 23

Thu Nov 23 11:21:52 2017 denni.pat [...] gmail.com - Ticket created

version PDF-API2-2.033 http://search.cpan.org/~ssimms/PDF-API2-2.033/
perl version 5.8.9
Unix OS

Hi, if i use PDF:API2:Content.pm i receive:

Quote
Use of implicit split to @_ is deprecated at PDF/API2/Content.pm line 1876.

Use of implicit split to @_ is deprecated at PDF/API2/Content.pm line 1932.

Thanks.
Denis

 PhilterPaper commented on Nov 23

As Content.pm was rewritten for PDF::Builder, neither of these lines still exist. The complaint appears to involve scalar split ... sequences, which may upset some Perl versions. The fix may be as simple as putting () around the split command, though I haven't tried it. By the way, Perl 5.8 is quite ancient, and should be upgraded to at least 5.26.

As this error apparently does not affect PDF::Builder, I''ll close it.