How can I write "print $F[4] if exists $F[4]" even simpler?
- From: jidanni@xxxxxxxxxxx
- Date: Fri, 05 Mar 2010 03:46:00 +0800
How can I write
print $F[4] if exists $F[4];
even simpler?
print if exists for $F[4];
print if exists $_ for $F[4];
don't work.
.
- Follow-Ups:
- Re: How can I write "print $F[4] if exists $F[4]" even simpler?
- From: RedGrittyBrick
- Re: How can I write "print $F[4] if exists $F[4]" even simpler?
- From: Uri Guttman
- Re: How can I write "print $F[4] if exists $F[4]" even simpler?
- From: Tad McClellan
- Re: How can I write "print $F[4] if exists $F[4]" even simpler?
- Prev by Date: Re: Is there a "poor man's" perldoc?
- Next by Date: Process between paragraphs in perl
- Previous by thread: Is there a "poor man's" perldoc?
- Next by thread: Re: How can I write "print $F[4] if exists $F[4]" even simpler?
- Index(es):