On Sun, 2009-10-04 at 15:03 -0700, Slick wrote:
> I have a couple of questions.
>
> What is a good starter perl book to learn perl.
Best learning Perl book is 'Learning Perl'. Also known as the Lama
book. There are other good texts also, but imho that is by far the
best.
>
> Secondly, I am
Slick wrote:
> I have a couple of questions.
>
> What is a good starter perl book to learn perl.
>
> Secondly, I am kinda having trouble assimilating all the perl information. I
> want to know ways that you all remember the format of a script as well as the
> main items that are normally use
Slick wrote:
> I tried that, and the programs I am using worked before I put my code
> where the code needed to be, but it did not run. However if did the
> code without that template it worked.
>
> Jason H. Owens
I'm sorry. My mother tongue is English. I do not understand what you
are sayin
I have a couple of questions.
What is a good starter perl book to learn perl.
Secondly, I am kinda having trouble assimilating all the perl information. I
want to know ways that you all remember the format of a script as well as the
main items that are normally use. I know about the Scalars
On 10/4/09 2:51 PM, Shlomi Fish wrote:
Hi Slick!
On Sunday 04 Oct 2009 20:02:36 Slick wrote:
I am new at this perl thing. I just want to know tips and simple scripting.
I also use strawberry perl for my program.
Strawberry Perl is a very fine choice for Perl on Windows - probably better
t
Mike Flannigan wrote:
>
> Shawn H Corey wrote:
>> Use the hex notation:
>>
>> perl -i -ple 'tr/\xA0/\x20/'
>>
>
> Thank you. Much appreciated. I do like
> that much better.
>
> Someday I'll know hexidecimal better. Right
> now it's got a little magic for me.
>
>
> Mike
If you're on Lin
Shlomi Fish wrote:
> For a comprehensive site with many links to beginner-friendly Perl resources
> see:
>
> http://perl-begin.org/
Another on-line resource: http://perldoc.perl.org/
perldoc is an executable that comes with Perl and displays Perl
dicumentation. In a command prompt, type: perld
Shawn H Corey wrote:
Use the hex notation:
perl -i -ple 'tr/\xA0/\x20/'
Thank you. Much appreciated. I do like
that much better.
Someday I'll know hexidecimal better. Right
now it's got a little magic for me.
Mike
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For addit
Hi Slick!
On Sunday 04 Oct 2009 20:02:36 Slick wrote:
> I am new at this perl thing. I just want to know tips and simple scripting.
> I also use strawberry perl for my program.
>
Strawberry Perl is a very fine choice for Perl on Windows - probably better
than ActivePerl by now.
For a compreh
Slick wrote:
> I am new at this perl thing. I just want to know tips and simple scripting.
> I also use strawberry perl for my program.
1. Create a folder for trying Perl: md C:\TRY
(In Linux: mkdir ~/try )
2. Create a file in your try folder called template.pl and load the
following in it.
The builtun module Data::Dumper is very essential when working with
data complez structures.
Use strict is very useful for catching programming and user errors
Sent from my iPhone 3GS.
On Oct 4, 2009, at 2:02 PM, Slick wrote:
I am new at this perl thing. I just want to know tips and simple
I am new at this perl thing. I just want to know tips and simple scripting. I
also use strawberry perl for my program.
Thanks
Jason H. Owens
Mike Flannigan wrote:
I want to change character code 160 to character
code 32 throughout a bunch of text files. I'm using
this right now
s/(.)/ord($1) == '160' ? chr(32) : $1 /eg;
Here you are using the decimal numbers 160 and 32. This is very
inefficient as you are searching for *every* c
On Sunday 04 Oct 2009 17:53:24 Mike Flannigan wrote:
> I want to change character code 160 to character
> code 32 throughout a bunch of text files. I'm using
> this right now
> s/(.)/ord($1) == '160' ? chr(32) : $1 /eg;
> and it works, but I don't like it much. If anybody
> has another way they l
> "BH" == Bryan Harris writes:
BH> I have about 60 MB of text data I want to include at the bottom of
BH> a script.
BH> 60 MB is too big for us, but compressed it would be probably only
BH> 3-6 MB which is much better. Is there any way to put gzipped data
BH> in the DATA section o
Mike Flannigan wrote:
>
> I want to change character code 160 to character
> code 32 throughout a bunch of text files. I'm using
> this right now
> s/(.)/ord($1) == '160' ? chr(32) : $1 /eg;
> and it works, but I don't like it much. If anybody
> has another way they like better, I'd appreciate
>
I want to change character code 160 to character
code 32 throughout a bunch of text files. I'm using
this right now
s/(.)/ord($1) == '160' ? chr(32) : $1 /eg;
and it works, but I don't like it much. If anybody
has another way they like better, I'd appreciate
seeing it. It does not have to be a
I have about 60 MB of text data I want to include at the bottom of a script.
60 MB is too big for us, but compressed it would be probably only 3-6 MB
which is much better. Is there any way to put gzipped data in the DATA
section of a script, and conveniently read it?
I'd also prefer that my s
18 matches
Mail list logo