diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-04 02:38:34 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-04 02:38:34 +0000 |
commit | f10b034643f35a8ac5fe5ed0513218d385884cbb (patch) | |
tree | 573efda8d4fcb6b22f81988b692538e7f9b02718 /pod/perldelta.pod | |
parent | 2d63fa086243e29dbf185b28986d9a77e353a33c (diff) | |
download | perl-f10b034643f35a8ac5fe5ed0513218d385884cbb.tar.gz |
remove misleading info on defined(&func), unclutter deprecation
about defined(@array)
p4raw-id: //depot/perl@3567
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r-- | pod/perldelta.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 3f2214a987..3284cf70da 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -477,13 +477,13 @@ by Perl. (W) You used the C<open(FH, "| command")> or C<open(FH, "command |")> construction, but the command was missing or blank. -=item defined(@array) is deprecated (and not really meaningful) +=item defined(@array) is deprecated (D) defined() is not usually useful on arrays because it checks for an undefined I<scalar> value. If you want to see if the array is empty, just use C<if (@array) { # not empty }> for example. -=item defined(%hash) is deprecated (and not really meaningful) +=item defined(%hash) is deprecated (D) defined() is not usually useful on hashes because it checks for an undefined I<scalar> value. If you want to see if the hash is empty, |