Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by why_bird (Pilgrim)
on May 01, 2009 at 10:31 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2021-10-24 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?