Skip to content

The Effective Perler

Effective Perl Programming – write better, more idiomatic Perl

  • TOC
  • Errata
  • About

Category: security

Don’t use POSIX to create temporary files

Stop making huge security holes with POSIX tmpnam. You don’t need it in Perl because File::Temp, which comes with Perl, does it for you. Perl v5.22 deprecated tmpnam (and recommended replacements for tmpfile) and v5.26 has removed it.

Continue reading “Don’t use POSIX to create temporary files”

Author brian d foyPosted on September 3, 2017May 12, 2022Categories 5.26, files & filehandles, security
Effective Programming Perl book cover


Latest Items

  • Perl v5.36 new features
  • Goodbye fake multidimensional data structures
  • switch removed from the v5.36 feature bundle
  • Know if something is a boolean

Topics

Archives

External Links

  • Amazon.com
  • publisher catalog page
  • InformIT page (book and PDF)
  • Safari Books Online
  • eBooks (PDF and ePub)
  • TOC
  • Errata
  • About
The Effective Perler Proudly powered by WordPress