in reply to Re: create array of empty files and then match filenames
in thread create array of empty files and then match filenames

I feel a bit bad about myself now lol! Anyway, I hope I'll learn. At some point. In all honesty yes I did hope it would work, but I din't just throw it in, I spent quite a lot of time on this rubbish code I wrote. I have completed a Perl tutorial and I have read perlintro, so obviously I'm just not very talented in coding if I manage to make one million mistakes in 10 lines. I'll try to study all your suggestions now, thank you very much Ken.
  • Comment on Re^2: create array of empty files and then match filenames

Replies are listed 'Best First'.
Re^3: create array of empty files and then match filenames
by kcott (Archbishop) on Jan 07, 2016 at 19:01 UTC

    Don't feel bad about yourself or think you're no good at coding. None of us were born knowing Perl; you've just started learning whereas I've been coding in Perl for over two decades: it's not unreasonable to expect that I might be a bit better at it than you. :-)

    — Ken

Re^3: create array of empty files and then match filenames
by jnbek (Scribe) on Jan 08, 2016 at 16:19 UTC

    Yes, as Ken posted, we all started out as n00bs. Never let that concern you, the goal is learning and one never really stops learning coding, unless they give up on coding outright. Just keep at it and you'll have many a 'lightbulb' moment where what you thought was a huge hurdle suddenly makes perfect sense and you've conquered it. Apply that to everything you write from then on out and keep searching for those lightbulb moments.

    There's a saying floating around the internet somewhere, I can't remember where I first saw it, but, regardless of the language, it's gospel truth:
    If you can't look at code you wrote 6 months ago and be completely terrified at what you wrote, you did not learn enough.

    That's the beauty and the curse of programming, there's always something new to learn and conquer

    --- Where Earth and Spirit Unite.