Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Mmap question

by sgifford (Prior)
on Jan 31, 2005 at 02:15 UTC ( [id://426481]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
      substr($mmap,2+SEGMENT_SIZE*$segment,length)=$_;
      substr($mmap,0,1)=chr($segment);
    }
    
  2. or download this
    #!/usr/bin/perl
    
    ...
      print $line;
      $last_seg = $segment;
    }
    
  3. or download this
    dd if=/dev/zero bs=1 count=8192 of=mm
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found