Gossamer Forum
Home : General : Perl Programming :

Can you goto lines?

Quote Reply
Can you goto lines?
JUst wondering..In a perl script, can you just to specific lines, like in Basic you can type:

goto 123 (where 123 is the line number).

Thanks

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Can you goto lines? In reply to
http://www.perldoc.com/...1/pod/func/goto.html

Last edited by:

Paul: Jun 18, 2002, 10:37 AM
Quote Reply
Re: [Andy] Can you goto lines? In reply to
But this is almost always a bad thing to do, and indicates a breakdown in modular programming. =)

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Can you goto lines? In reply to
Guess Jason had a good reason to use it in GForum though right ;)
Quote Reply
Re: [Alex] Can you goto lines? In reply to
>>Guess Jason had a good reason to use it in GForum though right ;)<<

I'll let him off, it was because of autoloading. Smile