Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: Re: Perl embedded in Kornshell

by perigeeV (Hermit)
on Sep 04, 2001 at 07:20 UTC ( #109979=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    cat /home/spjal/files/bprcf.parms  /home/spjal/files/temp | 
    perl ' BEGIN { linectr=0 }
             { linectr++
    
  2. or download this
    #!/usr/local/bin/perl -w;
    use strict;
    
    ...
    my $lline;
    while(<INFILE>) {
        chomp;    # Remove the newline.
    
  3. or download this
        if(++$linectr == 1) {
            my($scheck, $echeck, $fcheck, $lcheck) = split;    # Splits on
    + whitespace by default.
    
  4. or download this
          if ( $fcheck == $scheck )
            { $fline=2 }
    ...
        { print OUTFILE "$_\n";
        }
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2023-01-27 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?