Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

error in script

by Anonymous Monk
on Jul 01, 2013 at 04:43 UTC ( #1041733=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

hey i get this error in my script " line 621 : using a | char in open without a | at the beginning or end is usually a typo " . the problem is my code has only 450 lines

Comment on error in script
Re: error in script
by vinoth.ree (Vicar) on Jul 01, 2013 at 04:56 UTC

    I Guess you will be using open() function call in your code with | character.

    I will be better you can post the code to further checkup.


    All is well
Re: error in script
by kcott (Abbot) on Jul 01, 2013 at 04:57 UTC

    There's a number of possibilities here; for instance, that could be line 621 of some module you've loaded.

    Please provide the message in its entirely (preferably within <code>...</code> tags).

    Also, if you're able to narrow down where in your script that is occurring, that could help in determining the cause. (Again, post that code within <code>...</code> tags).

    -- Ken

Re: error in script
by Laurent_R (Priest) on Jul 01, 2013 at 06:15 UTC

    probably line 621 of a module you are using.

Re: error in script
by davido (Archbishop) on Jul 01, 2013 at 06:28 UTC

    Can you reproduce the error in ten lines of code? (Doing so will probably take some work, and that process will probably lead you to discovering what the problem is.)


    Dave

Re: error in script
by Anonymous Monk on Jul 01, 2013 at 07:08 UTC
Re: error in script
by sundialsvc4 (Monsignor) on Jul 01, 2013 at 11:36 UTC

    “... is usually a typo” is your number-one clue here.   Did you, say, omit a quote-mark in a string a few lines back?   Did you typo something?   Look extremely carefully at the source-code in the immediate vicinity.   The author of that message is trying to tell you that it is probably a red-herring.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1041733]
Approved by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (25)
As of 2014-04-16 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (427 votes), past polls