12-06-2005
Some posts get answered and some do not. This is true in every forum on this site. Yes, you have to bide your time and be patient. Rule number 4 says that rather explicitly. You need to remember that you are asking for free support from unpaid volunteers. If you want immediate expert attention devoted to your problem you will need to hire an expert. Your question requires both DG and FreeBSD expertise. That is a rare combination.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi everybody,
I have been looking for an answer to this issue both on google and on the forum, but I couldn't find anything. please help me :eek:
As part of an automated (in perl) install of Solaris 9, I would like to be able to answer automaticaly to the question the installer asks.... (2 Replies)
Discussion started by: zaap
2 Replies
2. UNIX for Dummies Questions & Answers
hey, have been set this question at school and cannot think for the life of me how to do this. Ive thought about setuid/setgid and things like that but cant make any snese of it. Can anyone help?
question reads:
You have a file which has the names, email addresses,
mobile numbers and sales... (1 Reply)
Discussion started by: biffa
1 Replies
3. Shell Programming and Scripting
can some one please help me at my post ?
for hours yet being ignored
Need help on this:
nonsense. can't even solve forum ask people redo whole code. LMAO - after asking 101 qns
the pre result should be like this:
A A A A A
A A A A A A
A A A A A
A A A A A A
A A A... (27 Replies)
Discussion started by: nanochan1
27 Replies
4. Shell Programming and Scripting
hi,
i'm using the folowing ssh command to list the newuser "crontab' from myuser
ssh -t myuser@host1 "sudo -u newuser crontab -l"
this is ok but it is asking me a password.
Mot de passe de myuser:
The problem is that i want to answer it automatically in a shell script with the... (22 Replies)
Discussion started by: Nicol
22 Replies
5. Shell Programming and Scripting
I am new to perl and want to get a little better understanding of debugging code in perl. I have a perl script that has questions to be answered like:
he following PERL modules are recommended:
Crypt::DES
Crypt::PasswdMD5
IO::Pty
Net::Write::Layer2
String::CRC32
Attempt to install... (0 Replies)
Discussion started by: metallica1973
0 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
mgetty Version: 1.1.36
OS: OpenSuSE 13.1 (armv7l)
Modem: Zoom 56K USB Modem Model 3095
So I've been playing with mgetty for weeks now testing dialing into the USB modem from another PC using the same modem and connecting
using minicom (*minicom ---dials to---> mgetty). I had... (3 Replies)
Discussion started by: mrm5102
3 Replies
LEARN ABOUT OSX
file::find::rule::extending
File::Find::Rule::Extending(3) User Contributed Perl Documentation File::Find::Rule::Extending(3)
NAME
File::Find::Rule::Extending - the mini-guide to extending File::Find::Rule
SYNOPSIS
package File::Find::Rule::Random;
use strict;
# take useful things from File::Find::Rule
use base 'File::Find::Rule';
# and force our crack into the main namespace
sub File::Find::Rule::random () {
my $self = shift()->_force_object;
$self->exec( sub { rand > 0.5 } );
}
1;
DESCRIPTION
File::Find::Rule went down so well with the buying public that everyone wanted to add extra features. With the 0.07 release this became a
possibility, using the following conventions.
Declare your package
package File::Find::Rule::Random;
use strict;
Inherit methods from File::Find::Rule
# take useful things from File::Find::Rule
use base 'File::Find::Rule';
Force your madness into the main package
# and force our crack into the main namespace
sub File::Find::Rule::random () {
my $self = shift()->_force_object;
$self->exec( sub { rand > 0.5 } );
}
Yes, we're being very cavalier here and defining things into the main File::Find::Rule namespace. This is due to lack of imaginiation on
my part - I simply can't find a way for the functional and oo interface to work without doing this or some kind of inheritance, and
inheritance stops you using two File::Find::Rule::Foo modules together.
For this reason try and pick distinct names for your extensions. If this becomes a problem then I may institute a semi-official registry
of taken names.
Taking no arguments.
Note the null prototype on random. This is a cheat for the procedural interface to know that your sub takes no arguments, and so allows
this to happen:
find( random => in => '.' );
If you hadn't declared "random" with a null prototype it would have consumed "in" as a parameter to it, then got all confused as it doesn't
know about a '.' rule.
AUTHOR
Richard Clamp <richardc@unixbeard.net>
COPYRIGHT
Copyright (C) 2002 Richard Clamp. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
File::Find::Rule
File::Find::Rule::MMagic was the first extension module, so maybe check that out.
perl v5.16.2 2011-09-19 File::Find::Rule::Extending(3)