Re: [PBML] parse arg variables...
- if you want, you can download from
>[Non-text portions of this message have been removed]
> Can you recommend a book or an online book where I can educate myself
> more on that command?? I was looking online on Perl.org is that a good
> --- In firstname.lastname@example.org
> <mailto:perl-beginner%40yahoogroups.com>, merlyn@... wrote:
> > >>>>> "cside30" == cside30 <kpatters@...> writes:
> > cside30> Hello,
> > cside30> I am a newbie to perl.
> > cside30> I am getting data from an arg with multiple blocks of data.
> > cside30> for example, a variable named, $abendstatus, will have a
> value of
> > cside30> "Ended Not OK" as data.
> > cside30> How do I parse this data into 3 different variables to show as
> > cside30> $line1 = ended
> > cside30> $line2 = Not
> > cside30> $line3 = OK
> > You don't want three different variables. Hint: any variable that
> ends in a
> > sequence, like "1" "2" "3" or "a" "b" "c" means you should have put that
> > information into a data structure instead.
> > You might want:
> > $data = "Ended Not OK";
> > @words = split ' ', $data;
> > now $words is "Ended", and so on.
> > --
> > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503
> 777 0095
> > <merlyn@...> <URL:http://www.stonehenge.com/merlyn/
> > Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
> > See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
>>>>> "Bora" == Bora Uyar <borauyar@...> writes:Bora> if you want, you can download from
Bora> http:\\students.sabanciuniv.edu\~borauyar [REDACTED]
First, that's not a real URL. Your slashes are leaning the wrong way.
Second, I find your posting highly offensive. Those are ILLEGAL
copies of MY books.
Don't be a pirate. People worked hard to bring you those books,
and you spit in their face.
Please remove that archive.
I've also sent a note to O'Reilly legal. Your university will likely be
contacted with a takedown notice. I presume they have a policy for dealing
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!