Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Suggestion on rewriting small code

by ovedpo15 (Monk)
on Aug 21, 2019 at 06:52 UTC ( #11104766=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "job==<number> || job==<number> || ... || job==<number>"
    
  2. or download this
    my @arr = (12341,1245125,1525125,125125125);
    my $str; # should be: "job==12341 || job==1245125 || job==1525125 || j
    +ob==125125125"
    ...
        $counter++;
    }
    print $str."\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11104766]
Approved by Athanasius
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-10-29 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (274 votes). Check out past polls.

    Notices?