in reply to Re^2: hello world execution error
in thread re: hello world execution error

The file is there!! I have created a file with the name hello.plx in the folder BegPerl and try to execute it in the same path. Still it is showing the error " no such file found" I am sure the file is in the right path I specified :(

Is it because I am running windows xp on a mac book?? Is that might be a problem.

Replies are listed 'Best First'.
Re^4: hello world execution error
by BrowserUk (Patriarch) on Aug 12, 2011 at 05:40 UTC
    The file is there!!

    How do you know it is there? That is, how are you seeing it?

    My guess is that you are seeing it in the Windows Explorer. And that you have the Explorer option "Hide file extensions" enabled. And that the file is actually named 'Hello1.plx.txt'.

    To be sure, use the dir command.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      Whether that's actually the case or not... this response makes me believe you've possibly worked in tech support at some point in time. Entirely off-the-wall and entirely plausible/likely all in one.

      --Dave

        this response makes me believe you've possibly worked in tech support at some point in time.

        Formally, no. But looking back it seems that I've somehow informally fallen into that role, for those around me, almost everywhere I've worked.

        My favorite 'tech support' story: Re: Lost in the Translation

        FWIW: I think that the 'secret ingredient' between a good programmer and a great one, is intuition.

        (That doesn't mean I think I am a great programmer, my intuition is far too sporadic.)


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
Re^4: hello world execution error
by Anonymous Monk on Aug 12, 2011 at 04:52 UTC

    The file is there!!

    Except that it isn't -- if dir/perl both tell you the file isn't there, then it isn't there, no matter how sure you are.

    Is it because I am running windows xp on a mac book?? Is that might be a problem.

    The shell session I quoted was made on XP

Re^4: hello world execution error
by tej (Scribe) on Aug 13, 2011 at 07:02 UTC
    The file is there!! I have created a file with the name hello.plx in the folder

    you are saying you have saved file with name "hello.plx" and then

    I gave the path in the right way. like c:\BegPerl>perl hello1.plx

    The name of the file and the file you are trying to call from command line are probably different

    Hope this helps you