Does this mean you worked it out? Let us know what was wrong, it may help someone out, namely me, when I'm being a "freaking moron" ;DNEVER MIND I'M A FREAKING MORON!
What were you trying to do?
Why does this not work right???
my ($add_create,$create_sw,$add_sw);
$add_create='def';
if ($add_create=='abc'){
*$create_sw=1;
*print "\$create_sw=$create_sw\n";
}elsif ($add_create=='def'){
*$add_sw=1;
*print "\$add_sw=$add_sw\n";
}
NEVER MIND I'M A FREAKING MORON!
eq
Does this mean you worked it out? Let us know what was wrong, it may help someone out, namely me, when I'm being a "freaking moron" ;DNEVER MIND I'M A FREAKING MORON!
What were you trying to do?
eq was the answer. In PERL == is for comparing numbers. eq is for character strings.
Jamin
Ah, I thought eq was some vim quit code, but I'm thinking of :wq
I think I get bonus "freakin moron" points.
I dont know VIM. So I should get part of those points![]()
You must learn the way of Vim.I dont know VIM. So I should get part of those points![]()
![]()
Bookmarks