Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: File::Copy a bug?

by Roger (Parson)
on Aug 18, 2005 at 13:32 UTC ( [id://484751]=note: print w/replies, xml ) Need Help??


in reply to File::Copy a bug?

COPY: is a label. It puts a "goto" point before the next statement, so that when you do goto COPY your code will resume at $J=....

If you get rid of the $J=... line, the next line, use File::Copy is actually not a run time statement you can place a label on. It is executed at compile time. Therefore you will get a compilation error. If you move the use File::Copy to the top of the Perl script, it will resolve the compilation error.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://484751]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found