Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Shell Script Woes (review)

by tye (Sage)
on Jan 09, 2003 at 21:30 UTC ( [id://225651]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $Traps{"$Fields[6]"} = [ $Expiration,$Fields[2],$Fields[5],$Fields[7] ];
  2. or download this
    $Traps{$Fields[6]} = [ $Expiration, @Fields[­2,5,7] ];
  3. or download this
        sub EXPIRE() { 0 }
        sub WHATEVER() { 1 }
        sub FOOBAR() { 2 }
        sub FILENAME() { 3 }
    
  4. or download this
    push @GrepList,$Traps{$tr­ap}[3] unless (($Traps{$trap}[0] < $Now && $Traps{$trap}[1]) || $trap eq "SIZE");
  5. or download this
    push @GrepList, $Traps{$tr­ap}[FILENAME]
        if  $trap ne "SIZE"
       and     ! $Traps{$trap}[WHATEVER]
            || $Now <= $Traps{$trap}[EXPIRES];
    
  6. or download this
    map { $MaxLen = length($_) if length($_) > $MaxLen } @GrepList;
  7. or download this
    for(  @GrepList  ) {
        $MaxLen = length($_) if length($_) > $MaxLen;
    }
    
  8. or download this
    local( $/ )= \$BufferSize;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-20 03:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found