DonjonMaister@programming.dev to Programmer Humor@lemmy.ml · 1 year agoThe difference between an instance variable and a static variable.programming.devimagemessage-square9fedilinkarrow-up130arrow-down11file-textcross-posted to: programmer_humor@programming.dev
arrow-up129arrow-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-up5·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;