Displaying 20 results from an estimated 72 matches for "perldoc".
2007 Jun 30
1
graphic for the R profiler
.../wiki.r-project.org/rwiki/doku.php?id=tips:misc:profiling
Cheers,
Romain
<code perl>
#! /usr/bin/perl
use Getopt::Long;
my $cutoff=5;
GetOptions ('cutoff=s' => \$cutoff );
%calltree = ();
%allfun = ();
while (<>) {
if (/^sample\.interval=/) {
s <http://www.perldoc.com/perl5.6/pod/func/s.html>/sample\.interval=//;
$sample = $_ / 1e6;
} else {
chomp <http://www.perldoc.com/perl5.6/pod/func/chomp.html>;
@line = reverse <http://www.perldoc.com/perl5.6/pod/func/reverse.html> split <http://www.perldoc.com/perl5.6/pod/func/split.html>...
2019 Aug 21
3
CentOS 5 file system read only issue
Hello Everyone,
We are using CentOS 5 system for certain application. Those are VM guests
running in VMware. There is datastore issue occasionally, causing all file
systems becoming read only file systems. So application stop working, and
opened files cannot be written either. We cannot even ssh login to the
system. Typically we had to power cycle the VM. We are trying to add
reliability to the
2007 Jun 14
1
test if files in current folder
...t folder. Is there a way to do this, like in
> Perl:
> if (open()) { do sth}?
>
> To put it another way, how to extract all file names in a folder to an
> array or list?
>
?files
?dir
BTW, Perl has nice -X functions, which allow file testing without explicit
opening:
http://perldoc.perl.org/functions/-X.html
--
View this message in context: http://www.nabble.com/test-if-files-in-current-folder-tf3919587.html#a11118347
Sent from the R help mailing list archive at Nabble.com.
2009 Feb 13
2
Continue processing AGI script after hangup
All;
I wrote a PERL AGI script that prompts a caller to leave a message using
print "RECORD FILE $recordfile wav # 60000 BEEP s=3\n";
When the caller is done, they need to press the # key. The message is then delivered.
However, the message is not delivered if the caller simply hangs up when finished.
If the user hangs up, the script ends right then. How do I keep on processing the
2019 Apr 19
1
selftest: Perl error "Insecure $ENV{ENV} while running setgid at /home/user/src/samba-git/samba/source3/script/tests/printing/modprinter.pl line 138."
...'/bin:/usr/bin'; # untaint PATH
system("cp", "$tmp", "$smb_conf_file"); <== FAILING HERE
unlink $tmp;
==============================
the solution is, in addition to untainting $PATH:
==============================
# the following is according to:
# https://perldoc.perl.org/perlsec.html#Cleaning-Up-Your-Path
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; # Make %ENV safer
# delete @ENV{'BASH_ENV'};
$ENV{'PATH'} = '/bin:/usr/bin'; # untaint PATH
system("cp", "$tmp", "$smb_conf_...
2014 Aug 18
2
Dovecot failing with exit code 19200 in cron job
Hi All,
I am synchronizing a few hundred dovecot mailboxes with a perl script
via a crontab. ? It works for a while (ie exit status=0)? but the
rest then start failing with exit code 19200.?? I tried redirecting
STDERR but showed nothing.? I suspect the cron job is hitting some
sort of resource limit?? If I run the perl script from the command
line it appears to dsync all the accounts OK.?? The
2012 Dec 11
1
Need help regarding perl sys::virt
...\@$host/system?no_verify=1";
my $vmm;
eval {
$vmm = Sys::Virt->new(uri => $uri, readonly => 1);
};
if ($@) {
print "Unable to open connection to $uri: " . $@->message . "\n";
}
for my $dom ($vmm->list_domains, $vmm->list_defined_domains) {
## see perldoc Sys::Virt::Domain
print "name: ", $dom->get_name, "\n";
print "uuid: ", $dom->get_uuid_string(), "\n";
## $dom->get_info returns a hash reference
dump $dom->get_info;
print "\n";
}
Regards,
Rawat
-------------- next part -----...
2007 Jul 16
3
Zaptel 1.2.19 and 1.4.4 released
The Asterisk.org development team has announced the release of Zaptel
versions 1.2.18 and 1.4.4. These releases are maintenance releases that
fix various known issues. See the ChangeLog included in the releases
for a full list of changes. The ChangeLogs are also available
separately on the ftp site.
Both releases are available as a tarball as well as a patch against the
previous release. They
2007 Jul 16
3
Zaptel 1.2.19 and 1.4.4 released
The Asterisk.org development team has announced the release of Zaptel
versions 1.2.18 and 1.4.4. These releases are maintenance releases that
fix various known issues. See the ChangeLog included in the releases
for a full list of changes. The ChangeLogs are also available
separately on the ftp site.
Both releases are available as a tarball as well as a patch against the
previous release. They
2007 Jun 28
8
iptables module?
I know people must be doing something to manage iptables, but I
haven''t been able to find anything yet. ( My google-fu must be weak
today. )
What are you using to manage your iptables?
--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
2017 May 24
6
more recent perl version?
...ess it was signatures rather
than state. I?m getting
Feature "signatures" is not supported by Perl 5.16.3 at ...
with CGI scripts. And who knows what else might cause problems.
The software has been written with perl 5.20.1, which is already
rather old.
>
>
> [*]: http://perldoc.perl.org/feature.html#The-'state'-feature
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
2001 Jun 17
1
configure doesn't find perl 5 on suse 7.2
...x
Copyright 1987-2000, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.
#########################################################################
the perl version check in the configurte script
/usr/bin/perl -v | sed -n 's/^.*perl.*version \(.\).*/\1/p&...
2017 May 23
7
more recent perl version?
Hi,
are there packages replacing the ancient perl version in
Centos 7 with a more recent one, like 5.24? At least the
state feature is required.
2008 Aug 21
7
perl
...ght 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
--
Your search - madunix - did not match any documents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/at...
2002 Jul 14
6
20020710 & winetest
Last 3 wines are failed to compile on various reasons.
(If I remember correctly: 20020411 compiles;
20020509, 20020605, 20020710 does not.)
wine 20020710
make[2]: Entering directory `/home/hurtta/game/wine-20020710/programs/winetest'
gcc -c -I. -I. -I../../include -I../../include `perl -MExtUtils::Embed -e perl_inc` -g -O2 -Wall
-fno-strength-reduce -mpreferred-stack-boundary=2 -fPIC
2015 Jul 06
1
[PATCH] doc: add missing ms-dos fs section in set_label
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
---
generator/actions.ml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/generator/actions.ml b/generator/actions.ml
index 92f80d2..35f30d5 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -9919,7 +9919,7 @@ Set the filesystem label on C<mountable> to C<label>.
Only some filesystem
2017 May 23
0
more recent perl version?
...the docs,[*] that feature has been in Perl since 5.10. This appears to confirm it:
$ perl -e "use feature 'state'" && echo yes
Are you looking for something else, or do you have a simple test case that shows what?s provided in CentOS 7 is insufficient?
[*]: http://perldoc.perl.org/feature.html#The-'state'-feature
2001 Aug 06
1
running R from Perl
Hi everyone,
I'm interested in running R remotely from a Perl program--specifically I
want to plot some data in Perl and return the graph as an object to Perl.
Does anyone know if this is possible?
Thanks,
Evan
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2007 Dec 06
0
Perl FastAGI service port.
...starting! pid(31737)
Port Not Defined. Defaulting to '20203'
Binding to TCP port 20203 on host *
Group Not Defined. Defaulting to EGID '0 10 6 4 3 2 1 0'
User Not Defined. Defaulting to EUID '0'
Specifically, how do I define the port referred to above?
The man page and perldocs illustrate how to define the port for the
prefork server object (overridden from Net::Server, from which the
FastAGI object is derived). That's good. But that doesn't change
the actual port on which this particular FastAGI service is accessed.
I cannot find anything related in the Perl...
2008 Jul 28
3
Shell script - ping
hi,
how to write a scripts which launches 10 pings to different
destinations at execution of single shell scripts
please help me any ideas
regards,
Gopinath