Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Useless use of string eq

by shmem (Chancellor)
on Dec 06, 2007 at 15:08 UTC ( [id://655430]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...
    if ($ARGV[1] eq '-SMC') {$cust eq "SMC";}
    ...
    
  2. or download this
    if ($ARGV[1] eq '-SMC') {$cust = "SMC";}
    
  3. or download this
    #!/usr/local/bin/perl -w
    use strict;
    my($target, $cust, $cotime) = @ARGV;
    
    $cust =~ s/^-//; # strip leading dash
    

Log In?
Username:
Password:

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

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

    No recent polls found