supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes.
I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason?
It has... (1 Reply)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi All
I would like to profile my application with oprofile but I can't since no samples are collected.
The kernel of my app is 2.6 on RED HAT Enterprise 5.3 (Tikanga) so OProfile is setup in timer interrupt mode
# opcontrol --list-events
Using timer interrupt.
I... (0 Replies)
Hi All,
We have an archiving script on our applications box. It is scheduled to run at 36th minute every hour.
36 * * * * /archive_7.sh
But it throws an error saying "sh: /archive_7.sh: not found". I am not able to understand why.
# ls -l /archive_7.sh ; file /archive_7.sh
-rwxr-xr-x ... (4 Replies)
Hi,
I have a file which has lines like these :
I want to trim everything from the left till ">" such that the file looks like :
If you have any ideas how to do this in 1-2 commands please help.
Thanks. (3 Replies)
Hi,
I am on a Solaris8 machine
If someone can help me with adjusting this awk 1 liner (turning it into a real awkscript) to get by this "event not found error"
...or
Present Perl solution code that works for Perl5.8 in the csh shell ...that would be great.
******************
... (3 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hey,
I am making a Bash shell script to grab input from libinput. There's a few reasons why I am doing it this way:
Using Python with python-libinput does not work. I installed version 0.1.0 with pip, and it complains about "ContextType" not existing. So that's a no-go.
I am trying to get... (2 Replies)
Discussion started by: mrjpaxton
2 Replies
LEARN ABOUT DEBIAN
sub::exporter::globexporter
Sub::Exporter::GlobExporter(3pm) User Contributed Perl Documentation Sub::Exporter::GlobExporter(3pm)NAME
Sub::Exporter::GlobExporter - export shared globs with Sub::Exporter collectors
VERSION
version 0.002
SYNOPSIS
First, you write something that exports globs:
package Shared::Symbol;
use Sub::Exporter;
use Sub::Exporter::GlobExport qw(glob_exporter);
use Sub::Exporter -setup => {
...
collectors => { '$Symbol' => glob_exporter(Symbol => '_shared_globref') },
};
sub _shared_globref { return *Common }
Now other code can import $Symbol and get their *Symbol made an alias to *Shared::Symbol::Symbol.
If you don't know what this means or why you'd want to do it, you may want to stop reading now.
The other class can do something like this:
use Shared::Symbol '$Symbol';
print $Symbol; # prints the scalar entry of *Shared::Symbol::Symbol
...or...
use Shared::Symbol '$Symbol' => { -as => 'SharedSymbol' };
print $SharedSymbol; # prints the scalar entry of *Shared::Symbol::Symbol
OVERVIEW
Sub::Exporter::GlobExporter provides only one routine, "glob_exporter", which may be called either by its full name or may be imported on
request.
my $exporter = glob_exporter( $default_name, $globref_locator );
The routine returns a collection validator that will export a glob into the importing package. It will export it under the name
$default_name, unless an alternate name is given (as shown above). The glob that is installed is specified by the $globref_locator, which
can be either the globref itself, or a reference to a string which will be called on the exporter
For an example, see the "SYNOPSIS", in which a method is defined to produce the globref to share. This allows the glob-exporting package
to be subclassed, for for the subclass to choose to re-use the same glob when exporting or to export a new one.
If there are entries in the arguments to the globref-exporting collector other than those beginning with a dash, a hashref of them will be
passed to the globref locator. In other words, if we were to write this:
use Shared::Symbol '$Symbol' => { arg => 1, -as => 2 };
It would result in a call like the following:
my $globref = Shared::Symbol->_shared_globref({ arg => 1 });
AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Ricardo Signes.
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.10.1 2010-11-23 Sub::Exporter::GlobExporter(3pm)