develooper Front page | perl.perl5.porters | Postings from January 2016

[perl #119667] smartmatch example in perlop is broken

From:
l.mai@web.de via RT
Date:
January 30, 2016 23:52
Subject:
[perl #119667] smartmatch example in perlop is broken
Message ID:
rt-4.0.18-12331-1454197973-1570.119667-15-0@perl.org
On Sun Sep 08 02:03:42 2013, mauke- wrote:
> 
> perldoc perlop:

...

> 
> So the make_dogtag example above doesn't check whether all of the
> required
> fields (name, rank, serial_num) are present. Instead it checks whether
> at least
> one of them is present (which is of course much less useful).

Fixed in commit 1b590b38db71, which simply removes that example.

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=119667



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About