#perl - Thu 15 Mar 2007 between 19:05 and 19:10



Limbic_RegionLeoNerd - MPD
LeoNerdI was just midly surprised that my $dollarbang = $!; actually copied both parts
eval: my $dollarbang = $!; $! = 0; [ $dollarbang+0, "$dollarbang" ];
buubotLeoNerd: [24,'Too many open files']
Ani-_LeoNerd: it can be in any salar. And it is not limited to only 2 values.
LeoNerdOK, so that seems to be quite stable
avarmy $gangbang;
LeoNerdI'm wondering if I can just pass that into a callback function then, and the function would be OK with it
maukeI guess the copy-scalar code just looks at which flags are set and copies the appropriate values
actionLimbic_Region thinks he aptly named it
Limbic_Regionthinks he aptly named it
Ani-_Which it should do...
LeoNerdLimbic_Region: MPD?
Limbic_RegionLeoNerd - multiple personality disorder
LeoNerdHeh :)
More of an MTD really; multiple type disorder
xandmusic player demon
daemon
LeoNerdIs there a way to construct new ones of these from perl..?
snl20_lappydemons beware of the demons!
Limbic_Regionsure - my $ones = theses->new();
maukeeval: use Scalar::Util 'dualvar'; $x = dualvar 42, "answer"
buubotmauke: answer
maukeeval: use Scalar::Util 'dualvar'; $x = dualvar 42, "answer"; [$x+0, $x.""]
buubotmauke: [42,'answer']
LeoNerdmy $foo = Scalar::Multiple->new( IV => 10, PV => "hello", NV => 4.5, RV => [ 1, 2, 3 ] );
^-- that would be cute
Jinhohi, why is it that when I assign $a = 2; $b = 3; that $c = $a + $b; throws an error? (sorry if this sounds really stupid...)
maukejinho: what's the error?
LeoNerdjinho: what error?
actionLimbic_Region wanders off
Limbic_Regionwanders off
LeoNerdAnd don't use $a and $b
They are special
Jinholol
what do they stand for?
LeoNerdsort() uses them
siliand bad variable names
LeoNerd$x / $y / $z are a better choice
phroggybut something that describes what the variable represents is even better still.
mauke$data
JinhoGlobal symbol "$paul" requires explicit package name at test.pl line 6. <- what does this error mean?

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 

IrcArchive