Welcome to the Monastery | |
PerlMonks |
Re: How to Fetch Gmailby lyklev (Pilgrim) |
on Jan 18, 2011 at 13:28 UTC ( [id://882874]=note: print w/replies, xml ) | Need Help?? |
@labels is an array. $labels[0] prints the first element of that array. If that label is empty or an empty string, your program prints nothing.
Also, as usual,
is a great help, as it will tell you if you are trying to print something undefined.
In Section
Seekers of Perl Wisdom
|
|