Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: how to simp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 14 Topic 11021 of 11532
Post > Topic >>

Re: how to simplify this script

by chas.owens@[EMAIL PROTECTED] (Chas. Owens) May 3, 2008 at 09:51 PM

On Sat, May 3, 2008 at 7:03 PM,  <itshardtogetone@[EMAIL PROTECTED]
> wrote:
> Hi Gunnar and Members
>
>  I am very thrilled with your solutions. Is 'LOOP' as in ====>> LOOP:
> foreach ( @[EMAIL PROTECTED]
 ) { <<=========
>  a function or a command etc. I could not find this function in
> http://perldoc.perl.org/index-functions.html#L
snip

That is because it is a label, not a function.  Try looking at last*,
next**, redo***, continue****, Compound Statements*****, and Basic
BLOCKs******.

* http://perldoc.perl.org/functions/last.html
** http://perldoc.perl.org/functions/next.html
*** http://perldoc.perl.org/functions/redo.html
**** http://perldoc.perl.org/functions/continue.html
***** http://perldoc.perl.org/perlsyn.html#Compound-Statements
****** http://perldoc.perl.org/perlsyn.html#Basic-BLOCKs
-- 
Chas. Owens
wonkden.net
The most im****tant skill a programmer can have is the ability to read.
 




 14 Posts in Topic:
how to simplify this script
itshardtogetone@[EMAIL PR  2008-05-03 21:05:22 
Re: how to simplify this script
rich.japh@[EMAIL PROTECTE  2008-05-03 15:17:13 
Re: how to simplify this script
itshardtogetone@[EMAIL PR  2008-05-04 06:44:18 
Re: how to simplify this script
rich.japh@[EMAIL PROTECTE  2008-05-05 00:31:29 
Re: how to simplify this script
noreply@[EMAIL PROTECTED]  2008-05-05 11:00:28 
Re: how to simplify this script
rich.japh@[EMAIL PROTECTE  2008-05-06 01:25:23 
Re: how to simplify this script
noreply@[EMAIL PROTECTED]  2008-05-06 17:48:51 
Re: how to simplify this script
rich.japh@[EMAIL PROTECTE  2008-05-06 11:56:00 
Re: how to simplify this script
rich.japh@[EMAIL PROTECTE  2008-05-03 15:58:25 
Re: how to simplify this script
noreply@[EMAIL PROTECTED]  2008-05-03 22:22:56 
Re: how to simplify this script
itshardtogetone@[EMAIL PR  2008-05-04 07:03:21 
Re: how to simplify this script
noreply@[EMAIL PROTECTED]  2008-05-04 01:19:40 
Re: how to simplify this script
chas.owens@[EMAIL PROTECT  2008-05-03 21:45:33 
Re: how to simplify this script
chas.owens@[EMAIL PROTECT  2008-05-03 21:51:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 6:16:56 CDT 2008.