DonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 1 year agoThe difference between an instance variable and a static variable.programming.devimagemessage-square9fedilinkarrow-up135arrow-down10file-textcross-posted to: programmer_humor@programming.dev
arrow-up135arrow-down1imageThe difference between an instance variable and a static variable.programming.devDonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 1 year agomessage-square9fedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squaretiredofsametab@kbin.sociallinkfedilinkarrow-up6·1 year 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;