Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Style, style, style

by dws (Chancellor)
on Sep 08, 2002 at 02:19 UTC ( [id://195959]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1. while (<>) { ... } or while (my $line = <>) { ... }?
  2. or download this
    2. -w or use warnings;?
  3. or download this
    3. sub CONSTANT () { ... } or use constant CONSTANT => ...;?
  4. or download this
    4. my ($foo, $bar) = @_; or my $foo = shift; my $bar = shift;?
  5. or download this
    5. for (@array) { ... } or foreach (@array) { ... }?
  6. or download this
    6. print 'foo'; or print('foo');?
  7. or download this
    7. 'simple string'; or "simple string"?
  8. or download this
    8. glob '*' or <*>?
  9. or download this
    9. readline *FOO or <FOO>?
  10. or download this
    10. for (keys %foo) { $_ and $foo{$_} } or while (my ($key, $value) = each %foo) { $key and $value }?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found