Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Re: Nested Quantum::Superpositions

by zby (Vicar)
on Nov 10, 2003 at 11:38 UTC ( #305852=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Nested Quantum::Superpositions
in thread Nested Quantum::Superpositions

Just a bit more of mind-bending: is there a solution the the equation: x = all(1,4)?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Nested Quantum::Superpositions
by Anonymous Monk on Nov 10, 2003 at 15:40 UTC
    Just a bit more mind-bending: is there a solution the the equation: x = all(1,4)?

    That isn't all that mind-bending actually:

    use Quantum::Superpositions; my $x = all(any(1,4),any(1,4)); #also: all(any(1,4),any(1,4)) if($x == all(1,4)){ print "Solved\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://305852]
help
Chatterbox?
[Corion]: ;)
[Corion]: Hi tye btw ;)
[Corion]: I found plenty of not chatty enough logs with Perl too ... I'm slowly coming to appreciate Log::Log4perl resp. our homegrown alternative
[tye]: my experience with python so far is more like finding a moderately useful error message is a shocking surprise.
Corion disappears
[tye]: I get an error string but no reason and no context. Like die "Could not read file.\n" but with a stack trace where all of the useful context is stripped.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-09-21 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (252 votes). Check out past polls.

    Notices?