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

How can I get the results in a text file from counting in a string?

by supriyoch_2008 (Scribe)
on Aug 07, 2012 at 17:06 UTC ( #986033=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    $str="BATCATDATEFEAT";
    $A=0;$T=0;
    ...
     T=$T ends at ",pos $str,"\n\n"; 
    close(RESULT);                    # Line 17  
    exit;
    
  2. or download this
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    ...
    
    Use of uninitialized value in print at C:\Users\DR-SUPRIYO\Desktop\at.
    +pl line 13.
    Use of uninitialized value in print at C:\Users\DR-SUPRIYO\Desktop\at.
    +pl line 13.
    
  3. or download this
    A=4 ends at 
    
    T=4 ends at 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-04-17 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls