greatshots has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: problem in matching the filename
by graff (Chancellor) on Nov 13, 2006 at 03:14 UTC
    Normally I wouldn't downvote a question like this (or even comment on a decision to downvote), but as GrandFather points out, you were already given the solution to this sort of problem a few times, in response to the previous SoPW threads you've posted.

    What's the point of asking for advice when you ignore the advice you've been given? How about this for motivation: from now on, whenever you post code that does not include use strict;, I'll downvote you. That's a promise. :)

    Sure, "use strict" is only "optional", and it seems like a pain until you get used to it. But the fact that it is used faithfully by Perl programmers who are both very experienced and highly skilled should tell you something: it really is valuable.

Re: problem in matching the filename
by Sidhekin (Priest) on Nov 13, 2006 at 02:35 UTC

    $file vs $flie?

    use strict; is your friend!

    print "Just another Perl ${\(trickster and hacker)},"
    The Sidhekin proves Sidhe did it!

      as the OP has been told: here, here and here


      DWIM is Perl's answer to Gödel
Re: problem in matching the filename
by xorl (Deacon) on Nov 28, 2006 at 13:38 UTC
    The code above worked for me once I added a #!/usr/bin/perl to the top of it. So it looks like it works to me. What's the problem exactly?