Hi there,
I am completely new to this forum but it say's it's for complete newbies too :)
I have some questions:
1: I want to learn Linux and some basic Unix commands. Is it best to install a text version of Linux/Unix? (to get to know the commands, instead of a shell app)
2: Are there... (8 Replies)
Ive decided to take a trip over to unix and see how it is due to the perl compatabilities, What distro would you recommend? Im somewhat new to perl, and would like something with a "n00b-friendly" environment. Ive been running Linux boxes for some time now, and want to try a new os also. (3 Replies)
So I am ridiculously new to UNIX. The closest thing to it I use is Mac OS X. Recently I downloaded OpenDarwin 7.2.1 just to see what it was like. I popped it into Vmware, installation and boot work well, and I login.
Now I am presented with a console. I'm generally okay with command line... (2 Replies)
Howdy.
I know this is most likely possible using sed or awk or grep, most likely a combination of them together, but how would one go about running a grep like command on a file where you only try to match your pattern to the second field in a line, space delimited?
Example:
You are... (3 Replies)
This is my first post here, I tried searching the forum and other sites as well - but I still couldn't figure out exactly what UNIX is. I mean like for C programming we Turbo C++ IDE, and in same way different platforms for other languages.
What do we use for UNIX? I'm completely new to UNIX and... (2 Replies)
Hi,
I am trying with the below Perl command to print the first field when the second field matches the given pattern:
perl -lane 'open F, "< myfile"; for $i (<F>) {chomp $i; if ($F =~ /patt$/) {my $f = (split(" ", $i)); print "$f";}} close F' dummy_file
I know I can achieve the same with the... (7 Replies)
Within AWK, how do you display a field of NR? Here's my code:
awk '(NR>1) && (P1=$1-w)>=100000 {print "increase of" " " P1*.0000179," " "kW at" " " 'NR*60/431900' " " "minutes" "\n" "change from" " " 'NR-10($1)' " " "kW to" " " 'NR+70($1)' "\n"}{w=$1}' filename
I can change NR and print... (3 Replies)
I just installed this 11.2 ver and when I tell it to shutdown it takes for ever then just hangs with this just a little bit of that red line left to go, then it just sits there like forever until I get tired of looking at it then force a shutdown by holding my power button down until my laptop... (8 Replies)
Discussion started by: userx-bw
8 Replies
LEARN ABOUT DEBIAN
html::formfu::constraint::dependon
HTML::FormFu::Constraint::DependOn(3pm) User Contributed Perl Documentation HTML::FormFu::Constraint::DependOn(3pm)NAME
HTML::FormFu::Constraint::DependOn - Multi-field Dependency Constraint
SYNOPSIS
type: DependOn
name: foo
others: bar
DESCRIPTION
If a value is submitted for the field this constraint is attached to, then a value must also be submitted for all fields named in "others"
in HTML::FormFu::Constraint::_others.
By default, if any of the named fields in "others" in HTML::FormFu::Constraint::_others are missing, an error will be attached to each
missing field. This behaviour can be changed by setting any of "attach_errors_to_base" in HTML::FormFu::Constraint::_others,
"attach_errors_to_others" in HTML::FormFu::Constraint::_others or "attach_errors_to" in HTML::FormFu::Constraint::_others.
This constraint doesn't honour the "not()" value.
SEE ALSO
Is a sub-class of, and inherits methods from HTML::FormFu::Constraint::_others, HTML::FormFu::Constraint
HTML::FormFu
AUTHOR
Carl Franks "cfranks@cpan.org"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-05-10 HTML::FormFu::Constraint::DependOn(3pm)