It's always wise to test your code before giving advice, but it's quite unwise to *not* test code you're claiming needs to be done differently.$ perl -wle 'use constant DEFAULT_ADDR => "127.0.01"; my $address = shift || DEFAULT_ADDR; print $address' 192.168.1.1 192.168.1.1
In reply to Re^2: perl socket
by Anonymous Monk
in thread perl socket
by rjsaulakh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |