Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: reading from a file after a seek isn't working for me

by ikegami (Patriarch)
on Oct 21, 2009 at 20:15 UTC ( [id://802521]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      read STDOUT, $_, 8192;
    
  2. or download this
      my $rv = read STDOUT, $_, 8192;
      die "read: $!\n" if !defined($rv);
    
  3. or download this
    before=0
    after=0
    read: Bad file descriptor
    
  4. or download this
    open(STDOUT, '+>', "/tmp/stdout.log") or die $!;
    
  5. or download this
    close(STDOUT);
    open(STDOUT, '+>', "/tmp/stdout.log") or die $!;
    
  6. or download this
    before=0
    after=0
    stdout=hello world
    at end=12
    

Log In?
Username:
Password:

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

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

    No recent polls found