6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am relatively new to scripting. I am trying to develop a script that will
1. Source an executable file as an argument to the script that sets up the environment
2. Run a command "stat" that gives the status of 5 Engines running on the system
3. Check the status of the 5 Engines as either... (0 Replies)
Discussion started by: paslas
0 Replies
2. UNIX for Dummies Questions & Answers
Hi all!
I wanted to look at the key length of a certificate chain we have. When I do the conventional export command using keytool I will only get the end user cert.
keytool -export -alias aliasname -file filename.cer -keystore keystorename
The above code will only give me the end user... (2 Replies)
Discussion started by: Keepcase
2 Replies
3. Shell Programming and Scripting
Hello,
I have a logfile from which i would to extract date and login information.
(the goal is to find the inactive users).
To extract the date, no problem.
To extract the login, i'm stuck.
I first extract lines which contains the logging-in information, i obtain different lines.
Here... (2 Replies)
Discussion started by: Meldawa
2 Replies
4. Shell Programming and Scripting
Hey,
I am fiddling with a little script to kill a certain program if it freezes. Basically I want to do something like this:
ps -A | grep firefox-bin | read -d ' ' pid
kill $pid
The problem lies when I pipe the output of grep into read. That part does not seem to work the way I want... (4 Replies)
Discussion started by: kermit
4 Replies
5. UNIX for Advanced & Expert Users
I have to put in an Forward from an ip adress to another in our
DNS , anyone know how to do that i pretty sure i have to put
in somewhere in the named files but where?
I tryed to put it in like an CNAME but it didn't work.
any suggestions?
/Nick (2 Replies)
Discussion started by: sajjan2
2 Replies
6. Shell Programming and Scripting
I just want to know where I can download it on this website plz (1 Reply)
Discussion started by: memattmyself
1 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)