Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Mixing tied variables with goto label

by Limbic~Region (Chancellor)
on Nov 15, 2005 at 21:25 UTC ( #508797=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    START:
    print "Hello, world\n";
    jump();
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    sub TIESCALAR { bless {}, $_[0] }
    sub STORE     { print "Read only\n"; }
    sub FETCH     { goto END; }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://508797]
Approved by Arunbear
Front-paged by Roy Johnson
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2014-11-28 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (199 votes), past polls