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