Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Script being caught up, somewhere. Causing infinite loop.

by Anonymous Monk
on Feb 02, 2003 at 19:52 UTC ( [id://232038]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
            open(FILE,"/home/kyleyankan/public_html/content/$_");
            @content = <FILE>;
    ...
            while (@content) {
                    $stuff .= $_;
            }
    
  2. or download this
       open(FILE,"/home/kyleyankan/public_html/content/$_");
       my   $stuff = join'', <FILE>;
    
  3. or download this
    my $stuff = do{ 
        local *ARGV, $/;
        @ARGV = "/home/kyleyankan/public_html/content/$_";
        <>;
    };
    
  4. or download this
     
    open FILE, "< path/$_"  
        or warn "Error on $_: $!;
    

Log In?
Username:
Password:

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

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

    No recent polls found