[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Quine, ontology, and Perl



In article <91E486361D4CD311B3140060089A882535C823@HERMES>,
Ala Qumsieh <aqumsieh@hyperchip.com> wrote:
> 
>     perl -le'@Just_another_Perl_hacker=map{y/_*/ /==3&&print"$_,"}%::'

I'd make that keys%::.  Doing a y/// on the values seems to corrupt things:

[D:\]perl -Wle"$::{STDOUT}=~s/\*/ /;print"$::{STDOUT}";print STDERR $::{STDOUT}"

Modification of a read-only value attempted at -e line 1.

[D:\]perl -Wle"$::{STDOUT}=~y/*/ /;print"$::{STDOUT}";print STDERR $::{STDOUT}"
Filehandle  main::STDOUT never opened at -e line 1.
* main::STDOUT

I just reported this as a bug.

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe