Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Out of memory error!!!

by McA (Curate)
on Mar 27, 2013 at 22:05 UTC ( #1025815=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
  2. or download this
    use strict;
    use warnings;
    
  3. or download this
    open (INFO, "<", "$File") or die("Cannot open the flat file");
    open(my $LOG,">>LOG_file") or die("Cannot open");
    open(XML,">xml_file") or die("Cannot open");
    
  4. or download this
    open(my $INFO, '<', $File) or die "Cannot open the '$File': $!;
    open(my $LOG, '>>' 'LOG_file') or die "Cannot open 'LOG_file: $!";
    open(my $XML, '>', 'xml_file') or die "Cannot open 'xml_file': $!";
    
  5. or download this
    while(defined(my $line2 = <$INFO>)) {
    }
    
  6. or download this
    chomp $line2;
    
  7. or download this
    my %config = (
        '00' => {
    ...
            die "ERROR: Unknown segment '$segment'. Config or data error?"
    +;
        }
    }
    
  8. or download this
    close $INFO or die "Can't close file '$File': $!";
    close $LOG or die "Can't close file 'LOG_file': $!";
    close $XML or die "Can't close file 'xml_file': $!";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2014-08-28 09:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (259 votes), past polls