Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: local scoped cwd

by bikeNomad (Priest)
on Jun 28, 2001 at 05:31 UTC ( [id://92148]=note: print w/replies, xml ) Need Help??


in reply to Re: local scoped cwd
in thread local scoped cwd

If you aren't going to use the blessed var, why bother with the overhead and size of a hash? Why not:
sub TIESCALAR {bless \(my $dummy) => shift}

Replies are listed 'Best First'.
Re: Re: Re: local scoped cwd
by Anonymous Monk on Jun 28, 2001 at 07:42 UTC

    I guess I was just playing golf. :)

    How well would { bless \$_ => shift } work?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-23 06:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found