The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 4.51 - 2007-07-13

  • BUG FIXES
    • Quit assuming that because the first element of an array is undef, the the whole thing is undef. (RT#24703, GTERMARS, Paul Blair)
    • For the "file_format" file upload constraint, File::MMagic sometimes wrongly returns the generic "application/octet-stream" MIME type instead of the correct MIME type. We now this return value as meaning "I don't know" and try the MIME type sent by the browser if this happens. (Mark Stosberg)
    • for the "file_format" file upload constraint, we now do a case-insensitive comparison of the MIME type provided by the browser, following the MIME standard. This bug was masked because we check the returned MIME type by File::MMagic first. Because it generally works and returns a lower-case result, it didn't matter. However, it some cases File::MMagic misbehaves under mod_perl, causing the the issue to matter. (Matt Christian, Mark Stosberg)
  • INTERNALS
    • Start requiring and using Scalar::Util, which prevents UNIVERSAL::can() form generating warnings. (RT#25873, Dave O'Neill)
    • Start requiring Perl6::Junction, which we had previously copy/pasted a bit of into DFV. (Unlike some of the other Perl6 namespace modules, this one does /not/ use a source filter, and is addictively simple and useful.

Modules

Validates user input (usually from an HTML form) based on input profile.
Basic sets of constraints on input profile.
Validate Dates and Times
Module to create constraints for HTML::FormValidator.
Basic set of filters available in an Data::FormValidator profile.
results of form input validation.

Provides

in lib/Data/FormValidator/Results.pm