Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Reading and producing variable lists (w/o hashes!)

by why_bird (Pilgrim)
on May 01, 2009 at 10:31 UTC ( [id://761251]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Reading and producing variable lists (w/o hashes!)
in thread Reading and producing variable lists (w/o hashes!)

oo crazy cool.. Two questions though: what might be a 'good' place to use this? and does it run under 'strict'?
........
Those are my principles. If you don't like them I have others.
-- Groucho Marx
.......
  • Comment on Re^4: Reading and producing variable lists (w/o hashes!)

Replies are listed 'Best First'.
Re^5: Reading and producing variable lists (w/o hashes!)
by almut (Canon) on May 01, 2009 at 10:37 UTC
    and does it run under 'strict'?

    It would run under use strict, if you declare the variables, e.g.

    my ($apple, $pear, $orange); # lexicals # or our ($apple, $pear, $orange); # lexically scoped package variabl +es # or use vars qw($apple $pear $orange); # global package variables
    what might be a 'good' place to use this?

    There are almost certainly better ways to approach virtually any typical problem you might have... :)

Log In?
Username:
Password:

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

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

    No recent polls found