| Limbic_Region | LeoNerd - MPD |
| LeoNerd | I was just midly surprised that my $dollarbang = $!; actually copied both parts eval: my $dollarbang = $!; $! = 0; [ $dollarbang+0, "$dollarbang" ]; |
| buubot | LeoNerd: [24,'Too many open files'] |
| Ani-_ | LeoNerd: it can be in any salar. And it is not limited to only 2 values. |
| LeoNerd | OK, so that seems to be quite stable |
| avar | my $gangbang; |
| LeoNerd | I'm wondering if I can just pass that into a callback function then, and the function would be OK with it |
| mauke | I guess the copy-scalar code just looks at which flags are set and copies the appropriate values |
| action | Limbic_Region thinks he aptly named it |
| Limbic_Region | thinks he aptly named it |
| Ani-_ | Which it should do... |
| LeoNerd | Limbic_Region: MPD? |
| Limbic_Region | LeoNerd - multiple personality disorder |
| LeoNerd | Heh :) More of an MTD really; multiple type disorder |
| xand | music player demon daemon |
| LeoNerd | Is there a way to construct new ones of these from perl..? |
| snl20_lappy | demons beware of the demons! |
| Limbic_Region | sure - my $ones = theses->new(); |
| mauke | eval: use Scalar::Util 'dualvar'; $x = dualvar 42, "answer" |
| buubot | mauke: answer |
| mauke | eval: use Scalar::Util 'dualvar'; $x = dualvar 42, "answer"; [$x+0, $x.""] |
| buubot | mauke: [42,'answer'] |
| LeoNerd | my $foo = Scalar::Multiple->new( IV => 10, PV => "hello", NV => 4.5, RV => [ 1, 2, 3 ] ); ^-- that would be cute |
| Jinho | hi, why is it that when I assign $a = 2; $b = 3; that $c = $a + $b; throws an error? (sorry if this sounds really stupid...) |
| mauke | jinho: what's the error? |
| LeoNerd | jinho: what error? |
| action | Limbic_Region wanders off |
| Limbic_Region | wanders off |
| LeoNerd | And don't use $a and $b They are special |
| Jinho | lol what do they stand for? |
| LeoNerd | sort() uses them |
| sili | and bad variable names |
| LeoNerd | $x / $y / $z are a better choice |
| phroggy | but something that describes what the variable represents is even better still. |
| mauke | $data |
| Jinho | Global symbol "$paul" requires explicit package name at test.pl line 6. <- what does this error mean? |