Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2010
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    perl script error

    I am getting the following error when i try to run the perl code

    syntax error at new.pl line 26, near ")

    ## Call functions ##
    while"
    syntax error at new.pl line 32, near "}"
    Execution of new.pl aborted due to compilation errors.
    Last edited by ggs234; 12-30-2010 at 01:12 PM.

  • #2
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    are you missing a { here?

    Code:
    23. if (seek(LOG,$position,0) )
    then you'll need the closing } after line 32, immediatley after the closing } for the while loop.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • Users who have thanked bazz for this post:

    ggs234 (12-30-2010)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •