develooper Front page | perl.perl5.porters | Postings from December 2017

#132489

Thread Next
From:
E. Choroba
Date:
December 14, 2017 14:39
Subject:
#132489
Message ID:
alpine.LSU.2.20.1712121923060.3052@fgvyy.zf.zss.phav.pm
That would break IO::All

     Overload
         Overloaded operations return the target object, if one exists.

         This would set $xxx to the IO::All object:

             my $xxx = $contents > io('file.txt');

         While this would set $xxx to the content string:

             my $xxx = $contents < io('file.txt');


Ch.

Thread Next


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