Hello peeps,
Like usual i'm trying to cut corners and define a whole load of stuff on one line, only I get the following error...
without using 2 lines of code - i know but hey i'm bored and thought I'd ask!
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
Like usual i'm trying to cut corners and define a whole load of stuff on one line, only I get the following error...
So is there a way to use the following code correctly?Can't declare lc in "my"
without using 2 lines of code - i know but hey i'm bored and thought I'd ask!
Code:
my ($fn,lc($ext)) = split(/./, $img);
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.