Thanks a lot.
On Wed, 26 Feb 2025 at 8:55 AM, Jim Gibson wrote:
> If you are reading a file with normal line endings (e.g., “\n”), then you
> want to parse each line as “key: value” using a regular expression, save
> the job id, current status and current phase values. When you
If you are reading a file with normal line endings (e.g., “\n”), then you want
to parse each line as “key: value” using a regular expression, save the job id,
current status and current phase values. When you have all three, you can check
the status and phase values for the values you are
What is the record separator? How can we tell `Job ID: 52` from `Job ID:
51`?
The input record separator is newline by default. If you want the Job ID of
the records where status=SUCCEEDED, you'll need to set the record separator
to something other than "\n" and do a multi-line
this..
>
> ---
> Erick Paquin
>
> On 25/02/2025 11:49 am, Asad wrote:
> > Hi All,
> >
> > I have a requirement to use regex , find the Job ID for the Current
> > status: SUCCEEDED and Current Phase: "ZDM_SETUP_TGT" from a file
> > which has da
You can use grep for this..
---
Erick Paquin
On 25/02/2025 11:49 am, Asad wrote:
Hi All,
I have a requirement to use regex , find the Job ID for the Current
status: SUCCEEDED and Current Phase: "ZDM_SETUP_TGT" from a file
which has data in the format gives below :
Job ID: 52
Use
Hi All,
I have a requirement to use regex , find the Job ID for the Current
status: SUCCEEDED and Current Phase: "ZDM_SETUP_TGT" from a file
which has data in the format gives below :
Job ID: 52
User: zdmuser
Client: zdmhost
Job Type: "EVAL"
...
Current status: SUC
n a program?
>
> What part of the program uses Perl and C?
>
> Different repositories of Github use many languages of programming in a
> project but a program only uses a language of programming.
>
> --
>
> With kindest regards, William.
>
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁
til/get_signames.pl
extracts signal names from an include file and generates
c code used to make it easier to convert a string like
"SIGHUP" to the integer 1 and vice versa.
$ get_signames.pl signal.h
#ifndef NSIG
#define NSIG 31
#endif
struct intstr signames[] = {
INTSTR(SIGHUP), /*
On 2024-07-27 01:11, William Torrez Corea wrote:
How can I implement these two languages of programming in a program?
You want to check the following library.
https://metacpan.org/dist/Inline-C/view/lib/Inline/C.pod
--
regards,
Jeff Pang
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.
How can I implement these two languages of programming in a program?
What part of the program uses Perl and C?
Different repositories of Github use many languages of programming in a
project but a program only uses a language of programming.
--
With kindest regards, William
s in the .profile file are:
# Perl 5.38
export PATH=/usr/local/bin:$PATH
export PERL5LIB=$HOME/perl5/lib/perl5
eval `perl -I$HOME/perl5/lib/perl5 -Mlocal::lib`
Now everything works. But I still don’t understand the setup very
well. What is the difference between the ‘.cpan’ and ‘perl5’
directories? Wh
Maxim Abalenkov writes:
> Now everything works. But I still don’t understand the setup very
> well. What is the difference between the ‘.cpan’ and ‘perl5’
> directories? What is their purpose? Thank you and have a great day
> ahead!
The directory ~/.cpan/ is where the command `cpa
Dear all,
How are you? I hope all is well with you. I need help please. I recently moved
to a new laptop and installed Perl 5.38.2 from source. I would like to
discipline myself and learn how to use the ‘local::lib’ module properly. I
downloaded the source code of local::lib from cpan website
> If you are coding you should be backing up every
> 10 minutes or more often. And you should store
> a "historical" full copy of the code every 30 minutes
> or more often and save them for days.
No, you shouldn’t, because it is no longer 1985.
You should learn how to us
If you are coding you should be backing up every
10 minutes or more often. And you should store
a "historical" full copy of the code every 30 minutes
or more often and save them for days.
Mike
On 1/2/24 10:33, William Torrez Corea wrote:
On Tue, Jan 2, 2024 at 5:17 AM Shlomi F
On Sat, 16 Dec 2023 08:10:49 -0600
William Torrez Corea wrote:
> What needs to know a basic and advanced programmer?
>
> I am a basic programmer, I don't have enough experience to be an advanced
> programmer.
>
> How many years of experience must an advanced programmer h
What needs to know a basic and advanced programmer?
I am a basic programmer, I don't have enough experience to be an advanced
programmer.
How many years of experience must an advanced programmer have?
--
With kindest regards, William.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating s
be called from s///
replacement side thanks to the /e modifier that allows code to be
executed there.
Also of some note is that the /r modifier is used so that s/// returns
the resulting string instead of modifying $contents, and being the last
statement, said resulting string is the return
ew
Solomon"
Cc: "Josef Wolf" ;
Sent: Thursday, October 26, 2023 12:07 AM
Subject: RE: Using qr// with substitution and group-interpolation in the
substitution part
Josef,
Inspired by Levi's “eval” idea, here is my solution:
sub substitute_lines {
my ($content
things" command on your system.
-Original Message-
From: Claude Brown via beginners
Sent: Thursday, October 26, 2023 8:07 AM
To: Levi Elias Nystad-Johansen ; Andrew Solomon
Cc: Josef Wolf ; beginners@perl.org
Subject: RE: Using qr// with substitution and group-interpolation
whatever) bar$/m, 'bar $1 baz');
print "$data\n";
The differences:
- escaped the "$" so the eval gets a literal "$contents"
- didn't escape "$" so the eval receives the value of $regex and $subst
- moved the "g" into the sub as it
That's a fun question, Josef!
I don't think you can pass a replacement phrase around, so this is all I
came up with:
sub substitute_lines {
my ($contents, $subst) = @_;
$contents = $subst->($contents);
return $contents;
}
my $data = "foo whatever bar";
print(substitute_lines($data, sub { $
Hallo all,
maybe this is not exactly a beginner question, but I could not find an
appropriate mailing list (all other lists seem to be developer realted).
Basically, I want to do the same as
$data =~ s/^foo (whatever) bar$/bar $1 baz/mg;
but with a different interface (because it has to be
on supported by toolchain, supporting older versions
than that makes little sense in my mind:
https://wikipedia.org/wiki/Perl_5_version_history?lang=en
-L
--- Original Message ---
On Sunday, October 8th, 2023 at 2:53 AM, William Torrez Corea
wrote:
> I Tried to install perl version 5.8
obably is better try to update it.
>
> Best Regards,
>
> Armando
>
>
>
> **From:** Kang-min Liu
> **Sent:** Sunday, October 8, 2023 5:32:24 AM
> **To:** beginners@perl.org
> **Subject:** Re: Perl ve
Perl version 5.8 and 5.10
於 2023年10月8日 上午11:53:46 [GMT+09:00],William Torrez Corea
寫到:
I Tried to install perl version 5.8 and 5.10 with perlbrew but i can't install
this version.
I get the following error message:
50 tests and 269 subtests skipped.
make[2]: *** [makefile:701: _test_tty] Err
於 2023年10月8日 上午11:53:46 [GMT+09:00],William Torrez Corea
寫到:
>I Tried to install perl version 5.8 and 5.10 with perlbrew but i can't
>install this version.
>I get the following error message:
>
>50 tests and 269 subtests skipped.
>> make[2]: *** [makefile:701: _te
> Turritopsis Dohrnii Teo En Ming writes:
> >
> > > If I want to learn Perl programming language from scratch having
> > > totally no knowledge of it, how long (in terms of months or years)
> > > would it take before I can confidently and proficiently modify
> > &
Turritopsis Dohrnii Teo En Ming writes:
> If I want to learn Perl programming language from scratch having
> totally no knowledge of it, how long (in terms of months or years)
> would it take before I can confidently and proficiently modify
> Virtualmin and Webmin code?
Good da
erl programming language from scratch having
> > totally no knowledge of it, how long (in terms of months or years)
> > would it take before I can confidently and proficiently modify
> > Virtualmin and Webmin code?
>
> Learning how to program in Perl is easy, it is like Basic or C
Turritopsis Dohrnii Teo En Ming writes:
> If I want to learn Perl programming language from scratch having
> totally no knowledge of it, how long (in terms of months or years)
> would it take before I can confidently and proficiently modify
> Virtualmin and Webmin code?
Learning ho
Subject: Virtualmin and Webmin web hosting control panel are written in Perl 5
Good day from Singapore,
I understand that Virtualmin and Webmin web hosting control panel are
written in Perl 5.
Source: In which perl framework is webmin written into?
Link: https://archive.virtualmin.com/node
Hey John,
One more follow up and then it's bedtime for me. I wanted to further this
discussion just a little bit more by implementing the mmap solution that I
applied to perl to ruby instead. Now all of a sudden, ruby is much much
faster. My ruby source code follows:
Goodnight!
# rub
Hey Jon,
The most glaringly obvious thing I could recommend is that at least in your
perl routine (and probably the other languages) most of your time is
context switching reading from the disk.
Now, my perl version is indeed faster, but one has to ask themselves, was
.015193256 seconds really
Hey John,
On Sat, Jan 15, 2022 at 3:04 AM Jon Smart wrote:
>
> Hello Paul
>
> Do you mean by undef $/ and with <$fh> we can read the file into memory
> at one time?
>
In most cases the short answer is yes.
I have problems with your wording however given the 'g
Sorry, it's 5:00am here and needless to say it's wy past my bedtime and
I'm making mistakes.
The comparison should have been between both ruby versions ugh.
I'll let you play though. Have a great night.
On Sat, Jan 15, 2022 at 4:57 AM Paul Procacci wrote:
>
beneficial. There are cases where one is more beneficial
over the other.
. and unfortunately it's not really well defined when to use one over
the other.
The general consensus has been that if you plan on jumping around a lot in
a file, then mmap will be superior to read.
Otherwise wh
On 1/15/22 06:37, Jon Smart wrote:
Hello,
May I show the result of my benchmark for perl5, ruby, and scala?
https://blog.cloudcache.net/benchmark-for-scala-ruby-and-perl/
Welcome you to give any suggestion to me for improving this.
Thanks.
The data is way to small tbh, there is no
Thanks for the geeks on the lists who pointed out a lot of problems to
me.
I want to add the description why I want to make this benchmark. And I
tried to use mmap() for reading file but I have got no benefits from it.
https://blog.cloudcache.net/why-mmap-has-no-significant-effect-in-my-code
On 2022-01-15 00:04, Jon Smart wrote:
Hello Paul
Do you mean by undef $/ and with <$fh> we can read the file into memory
at one time?
$/ is the input record separator, newline by default.
If undefined that means that the whole file is treated as one single record.
Yes that would be
Thanks Paul. I am surprised that mmap has that huge IO advantages
comparing to the classic way. So ruby take more benefit from this mmap
calling. Just get learned from your case.
Regards
On 15.01.2022 17:57, Paul Procacci wrote:
Hey John,
One more follow up and then it's bedtime f
Hello Paul
Do you mean by undef $/ and with <$fh> we can read the file into memory
at one time?
Yes that would be faster b/c we don't need to read file by each line,
which increases the disk IO.
Another questions:
1. what's the "truss" command?
2. what's
Hello,
May I show the result of my benchmark for perl5, ruby, and scala?
https://blog.cloudcache.net/benchmark-for-scala-ruby-and-perl/
Welcome you to give any suggestion to me for improving this.
Thanks.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e
I may not have expressed myself well, I have to migrate tables between two
databases that contain millions of rows and I only need specific columns.
Now it works using placeholders only for the values but is very slow for
inserts even with AutoCommit disabled.
Getting data from $src_db is
If you have only a few dozen tables, and you need the same statement for
all of them, then something like
my %sth_for_table;
for my $table qw / foo bar baz waldo pepper salt pork … chains/ {
$sth_for_table{$table} = $dbh->prepare("whatever whatever into $table");
}
then use the a
quoting field values rather than entering table or field names.
"SELECT * FROM $table" is probably what you want.
On Fri, Apr 9, 2021 at 12:49 PM mailing lists via beginners
wrote:
Hello,
I am having a problem with a very simple task and I don't see where the fault
is.
The first
thanks, but that only works when you don't use parameters for the placeholders
just try to do an insert like this:
$sth = $dbh->prepare("INSERT INTO ? (?) VALUES (?)");
foreach
{
$sth->execute("test","data1","data2") && say &
;
>
> On Friday, April 9, 2021, 2:12:01 PM GMT+2, mailing lists via beginners <
> beginners@perl.org> wrote:
>
>
> thanks Andrew
>
> I need to insert millions of rows so I need to have a good performance
> using placeholders
>
>
> On Friday, April 9, 2021
, April 9, 2021, 1:57:25 PM GMT+2, Andrew Solomon
wrote:
The ? is for quoting field values rather than entering table or field names.
"SELECT * FROM $table" is probably what you want.
On Fri, Apr 9, 2021 at 12:49 PM mailing lists via beginners
wrote:
Hello,
I am having a prob
ou want.
On Fri, Apr 9, 2021 at 12:49 PM mailing lists via beginners
wrote:
Hello,
I am having a problem with a very simple task and I don't see where the fault
is.
The first query works with problem but the second one fails with this error:
./test.pl
OK 1
DBD::mysql::st execute fail
e" is probably what you want.
On Fri, Apr 9, 2021 at 12:49 PM mailing lists via beginners
wrote:
Hello,
I am having a problem with a very simple task and I don't see where the fault
is.
The first query works with problem but the second one fails with this error:
./test.pl
OK 1
DBD::my
The ? is for quoting field values rather than entering table or field
names. "SELECT * FROM $table" is probably what you want.
On Fri, Apr 9, 2021 at 12:49 PM mailing lists via beginners <
beginners@perl.org> wrote:
> Hello,
>
> I am having a problem with a very simple t
Hello,
I am having a problem with a very simple task and I don't see where the fault
is.
The first query works with problem but the second one fails with this error:
./test.pl
OK 1
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the
manual that corresponds to
Good morning
I am retired, no longer programming. Please remove my name/email address from
your database/emailing list.
Thank you
will
> On 12/09/2020 5:52 AM stefano cerbioni wrote:
>
>
> hi guys i have a question
> is possible insert in listbox a TCP ipStream ? Does
I'm thinking that is not easy - maybe not possible.
I hope you prove me wrong.
Mike
On 12/9/20 6:52 AM, stefano cerbioni wrote:
hi guys i have a question
is possible insert in listbox a TCP ipStream ? Does anyone have some
examples about it ??
because I don't know where to start thank
hi guys i have a question
is possible insert in listbox a TCP ipStream ? Does anyone have some
examples about it ??
because I don't know where to start thanks
I have a strange issue with sysread and postgres (and ffpeg/stderr)
If the main program throws an error sysread stops if I write to the
database (a log table)
this is the program (need open3 because ffmpeg writes to stderr not stdout)
use IPC::Open3;
my($file,$in, $out);
my $pid;
use Symbol
it - set up two test
directories with files, add a symlink in the first to a file in the
second, then run remove_tree on the first and see what happens :)
Otherwise, File::Path uses unlink() to remove the files, the doco for
which is at https://perldoc.perl.org/functions/unlink.html
That isn
Am I right in believing that remove_tree from File::Path does not follow
symlinks, ie: does not remove the linked file only the link if there are
links in the direstories removed
eg:
#!/usr/bin/perl
use strict;
use File::Path('make_path','remove_tree');
my $dir='testdellink';# contains links to fi
Hi Mike,
On Thu, 8 Aug 2019 15:40:42 +0100
Mike Martin via beginners wrote:
> Is it possible to have the output of a perl module piped to open (open3 in
> my case), so I can use a file handle contains the output passed to sysread
>
> Odd question I know
>
you can use https://en.wikipedia.org/
Is it possible to have the output of a perl module piped to open (open3 in
my case), so I can use a file handle contains the output passed to sysread
Odd question I know
Thanks
On 5/21/19 8:10 AM, hwilmer wrote:
I'm not overthinking anything. I was trying to find out if what
currently happens to work under given conditions does so by chance or
luck, or if I can be reasonably sure that it was done right because it
is how things work, and it will work under diff
lification, strings are very complicated
things. You might imagine a "binary string" as a number of
consecutive bytes, with "consecutive" meaning that one byte comes
after the other, and the order in which they come is relevant. You
could describe a string like that, bu
--- and never in lines unless they get in the way and force me to
consider them.
A string is not a single value. And when you keep reading until you get
to the "Discussion" section, you would have to conclude that there are
no characters in perl, and I'm getting back to basical
ml
For example, noting that
print 4;
and
print 0b100;
both output 4, would you refer to 0b100 as a binary string?
On Thu, May 16, 2019 at 5:51 PM hwilmer wrote:
>
> Hi,
>
> since I'm trying to use "binary strings", the question comes up if there
> is a definitio
Hi,
since I'm trying to use "binary strings", the question comes up if there
is a definition of what is a string in perl, and what is it?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi James,
On Tue, 2 Oct 2018 14:18:35 +0100
James Kerwin wrote:
> Hi All,
>
> I have a Perl script that pulls in some information, generates an email,
> sends the email to a person and provides a URL to a WuFoo form. This URL
> contains the information to populate most fields
Hi!
You can set up javascript handler for the form and submit it
automatically if all fields are filled.
On 02/10/2018 16:18, James Kerwin wrote:
Hi All,
I have a Perl script that pulls in some information, generates an
email, sends the email to a person and provides a URL to a WuFoo form
Hi All,
I have a Perl script that pulls in some information, generates an email,
sends the email to a person and provides a URL to a WuFoo form. This URL
contains the information to populate most fields in the form and could
populate all of the fields.
What I don't know is how to submit the
Hi Lawrence,
Works great, thanks! Never thought of appending the comment directly to the
$doc, just assumed I
Needed to set the root first.
Regards,
John
From: Lawrence Statton
Sent: Monday, September 10, 2018 9:44 PM
To: beginners@perl.org
Subject: Re: XML::LibXML and comments
On Sep
> On Sep 10, 2018, at 6:33 AM, John Cortland Morgan
> wrote:
>
> Hi,
>
> I'm trying to place a comment directly after the XML declaration using
> XML::LibXML,
> But cannot seem to manage, always receiving error:
>
> setDocumentElement: ELEMENT node required at .../LibXML.pm line 1393
>
>
Take a look at:
https://stackoverflow.com/questions/19411152/libxml-inserting-a-comment
use XML::LibXML;
my $doc = XML::LibXML::Document->new;my $root = $doc->createElement("doc");
$doc->setDocumentElement($root);
$root->appendChild($doc->createElement("JJ"));
$root->appendChild($doc->createCommen
Hi,
I'm trying to place a comment directly after the XML declaration using
XML::LibXML,
But cannot seem to manage, always receiving error:
setDocumentElement: ELEMENT node required at .../LibXML.pm line 1393
What I would like:
testing
My relevant code thus far:
My $dom = XML::LibXML
y a new scope is
allocated when you use local and all code within the current *and
nested* scopes will see the new value, but as soon as you leave
the current scope (by any means, including an "exception"!) it
will revert back to its previous value.
[1] https://en.wikipedia.org/wiki/Scope_(compute
Many thanks for the very helpful comments from Andrew and Andy. For the first
time, I have a clear idea of what local and auto flushing are doing for me. I
know I’d get educated here!
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h
A local modifies the listed variables to be local to the
enclosing block, file, or eval. If more than one value is listed, the list
must be
placed in parentheses. See "Temporary Values via local()"
in perlsub for details, including issues with tied array
Hi Rick,
Regarding "local":
$| is a global* variable so you use local to isolate this change to only
where you need it.
To see what I mean, run this:
print "step1: $| \n";
{
local $| = 1;
print "step2: $| \n";
}
print "step3: $| \n";
an
local go out of scope when the TT is called? More broadly, do I
actually need local? Do I actually need auto flushing? The authors of PTT and
PBP assumed that persons reading their books would be fairly accomplished
programmers — but I’m not. So can you educate me?
# $| = 1;
local $| = 1
> On Jan 25, 2018, at 11:37 AM, David Precious wrote:
>
> then that uses LWP::UserAgent under the hood for the communication with
> authorize.net; it doesn't set any SSL/TLS-specific options when calling
> LWP::UserAgent, unless you're causing it to yourself.
>
> LWP::UserAgent will use LWP::Pro
On Thu, 25 Jan 2018 10:19:26 -0800 SurfShop
wrote:
> I keep getting emails from Authorize.net about their upcoming
> disablement of TLS 1.0 and TLS 1.1 and I need to know if that has
> anything to do with Perl or not. I don't have any code in SurfShop
> that references
> On Jan 25, 2018, at 10:43 AM, Darryl Philip Baker
> wrote:
>
> If you do not know TLS 1.0 and TLS 1.1 have a vulnerability in the design of
> the protocol and they are being deprecated. Currently only TLS 1.2 now and
> TLS 1.3 when finalized are considered safe. TLS
TLS is handled in the connection. So if your Perl code is opening the
connection directly it would be in the SSLeay module and OpenSSL libraries. If
your Perl cod is behind a webserver it is the webserver that handles the
connection. Only if your Perl code is being distributed to others to run
If you do not know TLS 1.0 and TLS 1.1 have a vulnerability in the design of
the protocol and they are being deprecated. Currently only TLS 1.2 now and TLS
1.3 when finalized are considered safe. TLS 1.2 was defined in August of 2008
so if you are using anything developed in the last five years
I keep getting emails from Authorize.net about their upcoming
disablement of TLS 1.0 and TLS 1.1 and I need to know if that has anything to
do with Perl or not. I don't have any code in SurfShop that references either
SSL or TLS, so maybe that's handled by Perl itself or a
551.26554/CGI-4.38/lib';
> Right, so that's your 500 error. But you added the same line in the original
> (before the use Carp line?) and it *didn't* fix the problem? Can you sym
> link the .cpanm dir under one of those @INC dirs. Hm, there's also an
> PERL5LIB env va
>> I found a .cpanm directory in /home/user where all the modules are
>> being installed. Could that have anything to do with it? I tried adding
>> that directory with "use lib" but I still get the 500 error.
> I ran your script and, when I manually i
Panel. I couldn't
find another error log in WHM.
> Hmm, can you try...
I ran your script and, when I manually include the .cpanm directory, it
returns:
/home/user/cgi-bin/test.pl syntax OK
otherwise, it returns:
Can't locate CGI/Carp.pm in @INC (you may need to install
ed as it should, with
> 'fatalsToBrowser' showing any errors. But the VPS is just backwards -
> adding it crashes the script! This actually happens with any module and,
> yes, they are installed:
>
> > cpanm install CGI::Carp
> install is up to date. (0.01)
> CGI::Car
> On Dec 7, 2017, at 1:40 PM, Shlomi Fish wrote:
>
> you should make sure that the modules you wish to use are in one of the
> dirs in @INC. cpanm should install to the global directories.
Another question. How can I check to make sure cpanm was installed
properly under perlbrew?
Fra
; do that
on it's own? There's only one perl install and one alias, and the alias is
selected. Running "perl -v" returns version 5.26.1 so how can I get perlbrew
set to install in the current installation?
Frank
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For
On Thu, 7 Dec 2017 12:44:51 -0800
SSC_perl wrote:
> > On Dec 7, 2017, at 12:04 PM, Shlomi Fish wrote:
> >
> > What does:
> >
> > say "@INC";
> >
> > say if you add it to the script?
>
> I get:
>
> /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux
> /h
> On Dec 7, 2017, at 12:04 PM, Shlomi Fish wrote:
>
> What does:
>
> say "@INC";
>
> say if you add it to the script?
I get:
/home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux
/home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1
/home/user/
500 error.
>
> On the shared server, this worked as it should, with
> 'fatalsToBrowser' showing any errors. But the VPS is just backwards - adding
> it crashes the script! This actually happens with any module and, yes, they
> are installed:
>
> > cpanm ins
d as it should, with 'fatalsToBrowser'
showing any errors. But the VPS is just backwards - adding it crashes the
script! This actually happens with any module and, yes, they are installed:
> cpanm install CGI::Carp
install is up to date. (0.01)
CGI::Carp is up to date. (4.38)
I have
path to the script, as mentioned
> by ikegami here:
>
> https://stackoverflow.com/questions/47457834/running-a-
> perl-script-from-crontab-when-you-use-perlbrew
>
> Unfortunately, I don't have anymore to go on than this as,
> literally, nothing happens - the script doe
more to go on than this as,
> literally, nothing happens - the script doesn't get run and I don't get an
> error email from cron, so I don't know where to look.
>
> Thanks,
> Frank
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>
Unfortunately, I don't have anymore to go on than this as, literally,
nothing happens - the script doesn't get run and I don't get an error email
from cron, so I don't know where to look.
Thanks,
Frank
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additio
> On Dec 5, 2017, at 10:23 AM, Chas. Owens wrote:
>
> Test one: does the file actually exist.
Thanks for the tests. It turns out there was a typo in the shebang
line. It was a tough one to diagnose as the error said the file wasn't there.
Frank
--
To unsubscribe, e-mail: beginners-
"John W. Krahn" writes:
>
> $ perl -le'my $x = sprintf q/%b/, 0xff; print $x'
>
>
> use Data::Dumper;
> $Data::Dumper::Useqq = 1;
>
> my $txstart = pack 'h*', 'fefe5a95';
>
> print Dumper $txstart;
Thank you
rials/perl-for-newbies/part2/#page--debugger--DIR ),
https://metacpan.org/pod/Data::Dumper , https://metacpan.org/pod/DDP , and some
debugger GUIs such as https://en.wikipedia.org/wiki/Data_Display_Debugger .
Regards,
Shlomi
> Thank you.
>
> Martin McCormick
>
1 - 100 of 9011 matches
Mail list logo