DonjonMaister@programming.dev to Programmer Humor · 2 years agoThe difference between an instance variable and a static variable.programming.devimagemessage-square10fedilinkarrow-up189arrow-down13file-textcross-posted to: programmer_humor@programming.dev
arrow-up186arrow-down1imageThe difference between an instance variable and a static variable.programming.devDonjonMaister@programming.dev to Programmer Humor · 2 years agomessage-square10fedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squaretiredofsametab@kbin.sociallinkfedilinkarrow-up12·2 years agoPerl actually uses my and our to do scope. my @foo; our $bar;
Perl actually uses
my
andour
to do scope.my @foo;
our $bar;