Sponsored Content
The Lounge What is on Your Mind? Please Welcome Peasant to the Moderation Team Post 303037929 by vbe on Sunday 18th of August 2019 07:52:25 AM
Old 08-18-2019
Welcome Peasant!
And well done... Smilie
This User Gave Thanks to vbe For This Post:
 

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

Please Welcome Ravinder Singh to the Moderation Team

On this special Happy News Year day, 1 January 2019, I am pleased to promote Ravinder Singh to UNIX.COM Moderator, for at least the following reasons: Ravinder Loves UNIX.COM Ravinder has 1,372 Thanks, which puts him in the Top Ten in that important single category. Ravinder is one of... (8 Replies)
Discussion started by: Neo
8 Replies

2. What is on Your Mind?

Please Welcome Yoda (Bipin Ajith) to the Moderation Team

Dear All, Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Yoda: Bipin Ajith (Yoda) Yoda has been hanging around unix.com for over eight years now and... (7 Replies)
Discussion started by: Neo
7 Replies

3. What is on Your Mind?

Please Welcome Akshay Hegde to the Moderation Team

Dear All, Following our policy for forum moderators to have active LinkedIn profiles (and also to increase mod team diversity), please join me in congratulating the newest addition to our mod team, Akshay Hegde: Akshay Hegde on LinkedIn Akshay has been very helpful to the site over the... (3 Replies)
Discussion started by: Neo
3 Replies
Validation::Class::Backwards(3pm)			User Contributed Perl Documentation			 Validation::Class::Backwards(3pm)

NAME
Validation::Class::Backwards - Backwards-Compatibility Layer for Validation::Class VERSION
version 7.70 SYNOPSIS
package SomeClass; use Validation::Class; package main; my $class = SomeClass->new; ... 1; DESCRIPTION
Validation::Class::Backwards is responsible for providing deprecated functionality to the Validation::Class::Prototype layer whilst clearly remaining separate via namespacing. Note: The methods described here will eventually become obsolete and cease to exist. Please review the namespace occasionally and adjust your code accordingly. Using methods defined here will generate warnings unless you unset the $ENV{'VALIDATION_CLASS_BC_WARNING'} environment variable. METHODS
error DEPRECATING: The error method is used to set and/or retrieve errors encountered during validation. The error method with no parameters returns the error message object which is an arrayref of error messages stored at class-level. # set errors at the class-level return $self->error('this isnt cool', 'unknown somethingorother'); # set an error at the field-level, using the field ref (not field name) $self->error($field_object, "i am your error message"); # return all errors encountered/set as an arrayref my $all_errors = $self->error(); RECOMMENDED: # see Validation::Class::Errors # set errors at the class-level return $self->errors->add(...); # set an error at the field-level $self->fields->{$field_name}->{errors}->add(...); # return all errors encountered my $list = $self->errors->list; AUTHOR
Al Newkirk <anewkirk@ana.io> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Al Newkirk. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-28 Validation::Class::Backwards(3pm)
All times are GMT -4. The time now is 07:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy