Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
laziness, impatience, and hubris
 
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 imbibing at the Monastery: (6)
As of 2014-04-20 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls