Re: [PBML] Really a true beginner
- Thanks I'll get started on your recommendations
On Jul 2, 2012, at 10:36 AM, Shlomi Fish wrote:
> Hi knowledgevision,
> first of all, I should note that you are likely to receive better help on
> beginners@... :
> On Mon, 02 Jul 2012 13:22:33 -0000
> "knowledgevisionstaythirsty" <pcpinkerton@...> wrote:
>> 1) Assigned a task to extract data fron a text file.
>> 2) Output file needs to be very specific, and created monthly
>> 3) tried doing in korn shell too complex
>> 4) Figured Perl my best option, but don't know Perl
>> 5) Bought The Perl CD Book Shelf
> I'm glad you're willing to pay for Perl material. However, according to:
> Even the latest Perl CD bookshelf was out-of-date back then (in 2006), and even
> more so now.
> I would suggest you look into:
> * http://perl-tutorial.org/
> And later http://perl-begin.org/ and
> http://perl-begin.org/tutorials/bad-elements/ .
>> 6) Installed Strawberry Perl
> It's great that you're using Strawberry Perl instead of ActivePerl. Also see
> http://dwimperl.com/ which is based on Strawberry Perl and may make your life even easier.
>> Output format is simple, but extracting the data I haven't a clue where to start.
>> I am starting to open the book today so any advise is welcome ( I am not trying to get someone to write this for me, just point me in the right direction )
> You should probably look into regular expressions and other forms of parsing.
> * http://perl-begin.org/topics/regular-expressions/
> * http://perl-begin.org/uses/text-parsing/
> Shlomi Fish
> Shlomi Fish http://www.shlomifish.org/
> List of Portability Libraries - http://shlom.in/port-libs
> God gave us two eyes and ten fingers so we will type five times as much as we
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
- Oh well I only paid $5.00
Now I also have the Modern Perl 2011-2012 PDF version
and various links.
So far no success even in just doing a simple extraction of a users name and printing it.
can do easily in k-shell but not so in Perl yet.
On Jul 2, 2012, at 12:52 PM, Randal L. Schwartz wrote:
>>>>>> "knowledgevisionstaythirsty" == knowledgevisionstaythirsty <pcpinkerton@...> writes:
> knowledgevisionstaythirsty> 5) Bought The Perl CD Book Shelf
> The Perl CD Bookshelf is *quite* old (at least a decade and a half).
> You'd be better off subscribing to Safari (www.safaribooksonline.com) if
> you want up-to-date Perl books in an e-book form.
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.posterous.com/ for Smalltalk discussion