Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Further On Down the Line

by BerntB (Deacon)
on Apr 11, 2009 at 23:17 UTC ( #757065=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Write to text file:
    open(my $fh, ">", $filename)
    ...
    my $line = <$fh>;              # Reads a line.
    chomp $line;                   # Removes eol chars (CR,LF)
    close $fh;
    
  2. or download this
    perl -e 'open($fh, ">", "tst") or die "$!"; print $fh "XX\n"; close $f
    +h;'
    
  3. or download this
    perldoc -f open
    perldoc perldoc
    perldoc perlrun
    perldoc Tk      # (Added as Edit.)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2021-11-30 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?