Thanks for your kind words.
-Frank
On Tue, Feb 2, 2016 at 2:43 PM, Jonathan Harris
wrote:
> Hi Frank,
> Really don't leave! Cyber-bullying is pathetic and the reserve of the
> ignorant.
> Just like an annoying itch, it's there and must be ignored.
> This community is informative and brimming w
Hi Frank,
Really don't leave! Cyber-bullying is pathetic and the reserve of the
ignorant.
Just like an annoying itch, it's there and must be ignored.
This community is informative and brimming with good people who are kind
and willing to help. I have personally and gratefully benefitted from their
Hi Andrew,
I felt bad the way he used the language and i am leaving from this
community...Thanks for all your help!
-Frank
On Mon, Feb 1, 2016 at 8:42 PM, Andrew Solomon wrote:
> Hi Everyone
>
> As you can see from the description of this list
> http://learn.perl.org/faq/beginners.html T
> On Feb 1, 2016, at 05:34, Thomas J Hughes wrote:
[ snip ]
This is *completely* inappropriate for the perl-beginners list, or as an
off-list reply to a message received from the list.
If you don't want to get email related to people trying to learn the Perl
language, I suggest you make use o
Hi Everyone
As you can see from the description of this list
http://learn.perl.org/faq/beginners.html Thomas J Hughes' response is
inappropriate and I've raised this issue with the moderator.
Please carry on with the polite and helpful discussions for which this
list has a reputation to uphold.
Isn't this a beginners' list?
Regards,
Danny Spell
*DDSpell Consulting214-682-4898*
On Mon, Feb 1, 2016 at 7:34 AM, Thomas J Hughes wrote:
> Go read a fuckin book and stop spamming people's email or I will hack
> yours ! If you want to learn a language you need to first learn the
> basis s
Go read a fuckin book and stop spamming people's email or I will hack yours
! If you want to learn a language you need to first learn the basis
stupid and build from their people are not going to tell you have shotcut
something learn to read asshole
WARNING TO ALL VETERANS:
https://www.oat
Thanks a lot Jonathan, i will set the env properly then i will try.
-Frank
On Fri, Jan 29, 2016 at 3:36 PM, Jonathan Harris
wrote:
> Hi Frank,
> Please would you remember to Reply All to the list as well?
>
> It just seems that the path is not included in @INC
> You can check on the command li
Hi Team,
I tried it was working.
-Franky
On Fri, Jan 29, 2016 at 8:21 AM, Frank Larry
wrote:
> Thank you so much for the solution you people provided. :)
>
> Warm Regards,
> -Franky
>
> On Thu, Jan 28, 2016 at 8:49 PM, Malisetti Ram Murthy <
> malisettirammur...@gmail.com> wrote:
>
>> Hi Fran
Hi Shlomi,
Thanks for that pointer.
I read your linked pages and it doesn't seem that there is yet a solution
as simple as the 'edit_file' method.
Shame as it was so handy, but the arguments against it are quite compelling.
@Frank - looks like the original scripting with printing to file handles
Hi Jonathan,
On Thu, 28 Jan 2016 17:57:19 +
Jonathan Harris via beginners wrote:
> Hi,
> I found that this works, assuming that the module is installed.
>
> #!/usr/bin/perl
> use warnings;
> use strict;
> use File::Slurp qw ( :edit );
using File::Slurp is no longer recommended:
http://blo
On Thu, 28 Jan 2016 07:41:15 -0800
Jim Gibson wrote:
> > On Jan 28, 2016, at 1:37 AM, Frank Larry wrote:
> >
> > Hi Team,
> >
> > could you please let me? i have a file which contains "Debug", i would
> > like to replace debug to "Error", when i ran the below program the out
> > showing Error
Hi Frank,
Please would you remember to Reply All to the list as well?
It just seems that the path is not included in @INC
You can check on the command line:
perl -e "print qq(@INC)"
I can't tell how you installed Perl and cpan but that's the result!
Anyways, it's easily fixed.
At the start of
Thank you so much for the solution you people provided. :)
Warm Regards,
-Franky
On Thu, Jan 28, 2016 at 8:49 PM, Malisetti Ram Murthy <
malisettirammur...@gmail.com> wrote:
> Hi Frank,
>
> Invoke below command from your perl program to replace the string "Debug"
> to "Error":
>
> sed -i -e '/De
Thank a lot brothersi will try all the things and update you..
-Frank
On Thu, Jan 28, 2016 at 11:27 PM, Jonathan Harris via beginners <
beginners@perl.org> wrote:
> Hi,
> I found that this works, assuming that the module is installed.
>
> #!/usr/bin/perl
> use warnings;
> use strict;
> use F
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 );
> On Jan 28, 2016, at 1:37 AM, Frank Larry wrote:
>
> Hi Team,
>
> could you please let me? i have a file which contains "Debug", i would like
> to replace debug to "Error", when i ran the below program the out showing
> Error message but how to save the output with new changes. Could you pl
Hi Frank,
Invoke below command from your perl program to replace the string "Debug"
to "Error":
sed -i -e '/Debug/ r filter.txt' -e s/Debug/Error/g filter_replaced.txt
Above solution is provided as per my knowledge, please post if there is any
other solutions for this.
Thanks,
Ram Murthy
On T
On 01/28/2016 04:59 PM, Logust Yu via beginners wrote:
> You can probably achieve this easily with 'sed' on bash.
>
>> On 28 Jan 2016, at 09:37, Frank Larry wrote:
>>
>> Hi Team,
>>
>> could you please let me? i have a file which contains "Debug", i would like
>> to replace debug to "Error", w
Hi Frank
Assuming the file you're operating on is bar.txt, here's how I'd do it:
$ perl -i.bak -p -e 's/Debug/Error/g' bar.txt
then you'll find the original file in bar.txt.bak
$ diff bar.txt bar.txt.bak
1,3c1,3
< This is a Error
< Please Error every replacement
< with a Error
---
> This
You can probably achieve this easily with 'sed' on bash.
> On 28 Jan 2016, at 09:37, Frank Larry wrote:
>
> Hi Team,
>
> could you please let me? i have a file which contains "Debug", i would like
> to replace debug to "Error", when i ran the below program the out showing
> Error message bu
Hi Team,
could you please let me? i have a file which contains "Debug", i would
like to replace debug to "Error", when i ran the below program the out
showing Error message but how to save the output with new changes. Could
you please tell me how to fix it?
open(FILE, "){
print "Before substi
22 matches
Mail list logo