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

Re: Scalar function

by johngg (Abbot)
on Sep 07, 2012 at 22:45 UTC ( #992399=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E '
    > open my $fa, q{<}, \ <<EOF1 or die $!;
    ...
    >    map { chomp; $_ } scalar <$fa>, scalar <$fb>;'
    file A line 1,file B line 1
    $
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E '
    > open my $fi, q{<}, \ <<EOFi or die $!;
    ...
    File I Line 1,File A Line 1,File B Line 1,File C Line 1
    File I Line 2,File A Line 2,File B Line 2,File C Line 2
    File I line 3,--eof--,File B Line 3,File C Line 3
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2015-07-31 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls