Menu

#10 Typo in UglyWHO.pm example

open
nobody
None
5
2006-09-11
2006-09-11
No

In WHO.pm line 89 is missing a double-quotes.

[86] # loop through the users and print out the
name/who field
[87] my $userlist = $uWho->user_data;
[88] foreach my $user (@$userlist) {
[89] print "$user->{'name and title'};
[90] }

The line should probably read:

print "$user->{'name and title'}\n";

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.