gt; >>
>> >> WARNING TO ALL VETERANS:
>> >>
>> >>
>> https://www.oathkeepers.org/us-senate-passes-bill-approving-mandatory-vaccinations-for-veterans/
>> >>
>> >>
>> >>
>> >>
>> >&g
to file handles is
the immediate future.
Thanks,
Jonathan
On Fri, Jan 29, 2016 at 10:45 AM, Shlomi Fish
wrote:
> Hi Jonathan,
>
> On Thu, 28 Jan 2016 17:57:19 +
> Jonathan Harris via beginners wrote:
>
> > Hi,
> > I found that this works, assuming that the mo
ation aborted at
> C:\Users\Franklin_Lawerence\Desktop\perl\arrarsize.pl line 5.
>
> C:\Users\Franklin_Lawerence\Desktop\perl>
>
>
> *File-Slurp installed in below Program files folder:*
>
> C:\Perl64\cpan\build\File-Slurp-.19-_tH9hN
>
> On Thu, Jan 28, 20
Hi,
I found that this works, assuming that the module is installed.
#!/usr/bin/perl
use warnings;
use strict;
use File::Slurp qw ( :edit );
#
my $file_to_edit = 'path-to-file.txt';
#
my $word_to_edit = "Debug";
my $new_word = "Error";
#
edit_file { s/$word_to_edit/$new_word/g } ( $file_to_edit );
I use Strawberry Perl to manage troublesome processes on Windows 2008
Server.
Have never had an issue! It's stable and simple to install.
I was advised to only install the 32bit version, even though it's a 64bit
OS. That advise came from a live forum of regular advanced Strawberry
Users, so I took
On Wed, Apr 10, 2013 at 12:02 PM, Jenda Krynicky wrote:
> From: Jonathan Harris
> > As it seems that Win32::Process::KillProcess is having difficulties
> killing
> > a hanging process, I thought that it would probably make sense to ask the
> > system to do it directl
On Tue, Apr 9, 2013 at 11:15 PM, Mike Flannigan wrote:
>
> On 4/9/2013 6:10 AM, Jonathan Harris wrote:
>
>> Hi All
>>
>> I am using Strawberry Perl (latest release) on a Windows 2003 SP2 server
>>
>> I am trying to use a script to look at running process
On Tue, Apr 9, 2013 at 5:42 PM, Jonathan Harris wrote:
>
>
>
> On Mon, Apr 8, 2013 at 4:41 PM, Jonathan Harris
> wrote:
>
>> Hi All
>>
>> I am using Strawberry Perl (latest release) on a Windows 2003 SP2 server
>>
>> I am trying to use a
On Mon, Apr 8, 2013 at 4:41 PM, Jonathan Harris wrote:
> Hi All
>
> I am using Strawberry Perl (latest release) on a Windows 2003 SP2 server
>
> I am trying to use a script to look at running processes, look for a
> specific process, and kill that process if it is alive for mor
Hi All
I am using Strawberry Perl (latest release) on a Windows 2003 SP2 server
I am trying to use a script to look at running processes, look for a
specific process, and kill that process if it is alive for more than 4
minutes as this would mean that the process has hung
When testing killing No
On Sat, Dec 31, 2011 at 4:29 AM, John W. Krahn wrote:
> Igor Dovgiy wrote:
>
>> Great work, Jonathan!
>> Notice how simple your script has become - and that's a good sign as well
>> in Perl. :) We can make it even simpler, however.
>>
>> As you probably know, Perl has two fundamental types of col
On Fri, Dec 30, 2011 at 7:11 PM, Brandon McCaig wrote:
> On Thu, Dec 29, 2011 at 03:43:19PM +0000, Jonathan Harris wrote:
> > Hi All
>
> Hello Jonathan:
>
> (Disclaimer: I stayed up all night playing Skyrim and am running
> on about 4.5 hours of sleep.. ^_^)
>
> I
athered into some array or hash. )
>
> -- iD
>
> 2011/12/30 John W. Krahn
>
> > Jonathan Harris wrote:
> >
> >>
> >>> Hi John
> >>
> >> Thanks for your 2 cents
> >>
> >> I hadn't considered that the module wouldn't b
On Fri, Dec 30, 2011 at 12:33 AM, Jonathan Harris
wrote:
>
>
> On Thu, Dec 29, 2011 at 6:39 PM, John W. Krahn wrote:
>
>> Jonathan Harris wrote:
>>
>>>
>>> Hi Igor
>>>
>>> Many thanks for your response
>>>
>>> I h
On Thu, Dec 29, 2011 at 6:39 PM, John W. Krahn wrote:
> Jonathan Harris wrote:
>
>>
>> Hi Igor
>>
>> Many thanks for your response
>>
>> I have started reviewing the things you said
>> There are some silly mistakes in there - eg not using cl
On Thu, Dec 29, 2011 at 5:08 PM, Igor Dovgiy wrote:
> Hi Jonathan,
>
> Let's review your script a bit, shall we? )
> It's definitely good for a starter, but still has some rough places.
>
> #!/usr/bin/perl
>> # md5-test.plx
>> use warnings;
>> use strict;
>>
> use File::Find;
>>
> use Digest::MD
;new->addfile($fh)->hex digest;
print "Hex Digest: ", $hex, "\n\n";
print $wr_fh $hex, "\n", $bytes, "\n\n";
return($hex);
close $wr_fh;
close $fh;
}
}
# The following is mostly not original code - thanks to the author!
sub cleanup {
my @filelist = readdi
On Mon, Dec 19, 2011 at 8:09 PM, Shlomi Fish wrote:
> Hi Jonathan,
>
> some comments on your code - both positive and negative.
>
> On Mon, 19 Dec 2011 19:32:10 +0000
> Jonathan Harris wrote:
>
> > Hi Perl Pros
> >
> > This is my first call for help
&g
On Mon, Dec 19, 2011 at 8:08 PM, Jim Gibson wrote:
> On 12/19/11 Mon Dec 19, 2011 11:32 AM, "Jonathan Harris"
> scribbled:
>
> > Hi Perl Pros
> >
> > This is my first call for help
> >
> > I am a totally new, self teaching, Perl hopeful
>
Hi Perl Pros
This is my first call for help
I am a totally new, self teaching, Perl hopeful
If my approach to this script is simply wrong, please let me know as it
will help my learning!
The script aims to:
1) Read in a directory either from the command line, or from a default path
2) Produce
On Fri, May 27, 2011 at 1:00 PM, Sayth Renshaw wrote:
> On Fri, May 27, 2011 at 9:12 PM, Leo Lapworth wrote:
> > Hi,
> >
> > On 27 May 2011 10:26, Shlomi Fish wrote:
> >> On Friday 27 May 2011 09:35:32 Sayth Renshaw wrote:
> >>> Which Perl Should I use ActivePerl or Strawberry Perl on Windows?
21 matches
Mail list logo