On Jul 14, 2023, 11:33 AM, at 11:33 AM, Tim Lewis wrote:
>Hi William,
>I use crontab on my Ubuntu server to automatically run Perl scripts.
>Will that work for you?
>Tim
>William Torrez Corea wrote:
>Can I mix bash with perl in a program?
>I want to create a program in Per
Thank you Chris. Using strict and warnings should have been the first thing
that I did. Thank you also for the code correction.
-Original Message-
From: Chris Charley [mailto:char...@pulsenet.com]
Sent: Friday, December 28, 2012 5:52 PM
To: beginners@perl.org
Subject: Re: Pattern match
Thank you Tim. The lack of strict and warnings should have been the first
thing that I put in the code. Thank you for the correction and for the help
in the loop.
From: timothy adigun [mailto:2teezp...@gmail.com]
Sent: Friday, December 28, 2012 4:11 PM
To: twle...@reagan.com
Cc: beginners@pe
I am using the name of my Perl script to call in an associated INI file with
the same name. Someone ran across something today that I have not seen
before. The server (Win 2003) on which the script runs has .pl files to be
set with the Perl.exe as the default associated program. When I run a
scr
At least one Scooby snack?
-Original Message-
From: Jim Gibson [mailto:jimsgib...@gmail.com]
Sent: Wednesday, August 29, 2012 12:59 PM
To: Perl Beginners
Subject: Re: Perl Code
On Aug 29, 2012, at 9:46 AM, Ashwin Rao T wrote:
> 1)Check if IP address is in the range 172.125.1.0 and 172.
.
-Original Message-
From: Shlomi Fish [mailto:shlo...@shlomifish.org]
Sent: Friday, July 29, 2011 7:13 AM
To: Tim Lewis
Cc: beginners@perl.org
Subject: Re: Add line feed to line
On Wed, 27 Jul 2011 15:19:56 -0400
Tim Lewis wrote:
> I am attempting to add a line feed to the end of each l
# concatentate any separator u want, here I
> used ","
> # in red colour
> print $arr;
>
> Thanks
>
> On Wed, Jul 27, 2011 at 9:03 PM, Tim Lewis wrote:
>
> > I found an answer that I thought I would shar
rks great now.
---- Tim Lewis wrote:
> I am attempting to add a line feed to the end of each line. When I do this, a
> carriage return is also added. My code lines are:
>
> $currentLine = $currentLine . "\x{0A}";
> $finalOutput = $finalOutput . $currentLine;
>
>
I am attempting to add a line feed to the end of each line. When I do this, a
carriage return is also added. My code lines are:
$currentLine = $currentLine . "\x{0A}";
$finalOutput = $finalOutput . $currentLine;
There has to be a way to do this. Also, is there a better way to concatentate?
Th
Here is some VBA code to get you started. It will run in an Excel spreadsheet.
It opens another spreadsheet, copies the active cell data, pastes that to
Paint, and saves the file as a jpg. I wrote it "on the fly", but it works.
For production use, I would change it so that one sheet in the c
Shawn, are you looking for something to send messages from Perl scripts
instead of an SMTP setup?
Tim
-Original Message-
From: shawn wilson [mailto:ag4ve...@gmail.com]
Sent: Thursday, May 26, 2011 4:44 AM
To: beginners@perl.org
Subject: Message queue
I'm trying to figure out what the dif
Thanks Uri. That makes perfect sense.
-Original Message-
From: Uri Guttman [mailto:u...@stemsystems.com]
Sent: Wednesday, May 25, 2011 1:37 PM
To: Tim Lewis
Cc: beginners@perl.org
Subject: Re: Basic question on arrays $ vs @
>>>>> "TL" == Tim Lewis writes:
This is a very basic question on arrays and referring to the elements. In
referring to the elements, I know that it is correct practice to use $
instead of @, but I know that Perl allows the @. My simple question is what
is the difference. I have looked at different Perl tutorials, but have not
Dave, in looking at the documentation for Net::SCP, it does not appear that
it can accept a wildcard. It looks like it has to be the exact name of the
file that you wish to retrieve. It might be creating a file with nothing in
it. When it retrieves that file, is it really the file, or just a zer
What is considered to be the proper way of naming internal subroutines?
Example:
my_special_subroutine or mySpecialSubroutine
-Original Message-
From: Uri Guttman [mailto:u...@stemsystems.com]
Sent: Thursday, April 28, 2011 12:50 AM
To: Shawn H Corey
Cc: beginners@perl.org
Subject: Re: s
If needed, there is a good complete table of the ASCII values at
http://www.asciitable.com/
Tim
-Original Message-
From: Ishwor Gurung [mailto:ishwor.gur...@gmail.com]
Sent: Wednesday, April 27, 2011 5:46 AM
To: Perl Beginners
Subject: Re: How does this work?
Hi Owen. G'day.
On 27 Apri
: Wednesday, April 20, 2011 3:58 PM
To: beginners@perl.org
Subject: Re: sample distribution
On Apr 20, 12:39 pm, twle...@sc.rr.com ("Tim Lewis") wrote:
> Suppose that you want to sell the cows. You have two buyers, and each one
> is paying you $10,000 for 10 cows. You want to di
Sorry about the typo. HOW would you split the cows up?
-Original Message-
From: Tim Lewis [mailto:twle...@sc.rr.com]
Sent: Wednesday, April 20, 2011 3:40 PM
To: beginners@perl.org
Subject: RE: sample distribution
Suppose that you want to sell the cows. You have two buyers, and each
Suppose that you want to sell the cows. You have two buyers, and each one
is paying you $10,000 for 10 cows. You want to divide the cows as fairly as
possible so that each buyer gets the same value. Who would you split the
cows up?
Does that help any?
-Original Message-
From: ai nguy
19 matches
Mail list logo