[Webkit-unassigned] [Bug 21832] New: Fix scripts using 'new File::Temp' for Perl 5.10

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 23 11:28:19 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21832

           Summary: Fix scripts using 'new File::Temp' for Perl 5.10
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: https://lists.webkit.org/pipermail/webkit-dev/2008-
                    October/005489.html
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


In Perl 5.10, the File::Temp module changed from this method of creating a new
object:

    $fh = new File::Temp($template);

To this method:

    $fh = File::Temp->new(TEMPLATE => $template);

The apparent solution to this is to use File::Temp->tempfile() instead per:

http://marc.info/?l=git&m=122089280626625&w=2


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list