Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Fix-it fix-it fix-it!

by jwkrahn (Monsignor)
on Nov 15, 2012 at 04:52 UTC ( #1003929=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "What is the name of the access rights .csv? (Full file name)\n"
    +;
    my $file = <>;
    
  2. or download this
    print "What is the name of the access rights .csv? (Full file name)\n"
    +;
    chomp( my $file = <STDIN> );
    
  3. or download this
    print "Is there a header in this file?\n";
    my $header = <>;
    ...
    }
    else {$header = "undef";
    }
    
  4. or download this
    open (CSV, "<", $file);
    
  5. or download this
    open CSV, '<', $file or die "Cannot open '$file' because: $!";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003929]
help
Chatterbox?
[LanX]: $; exists, so does the glob
[GotToBTru]: $; is "useful for emulating multi-dimensional arrays in Perl4"
[LanX]: i.e. &; is parsable
[LanX]: it's sometimes useful in P5 too
[LanX]: but I don't understand the question...
[GotToBTru]: okay, I see what it does
[GotToBTru]: you;ve answered it .. the expression is meant to be evaluated as written, it is not a symbol for a special operation
[LanX]: '&;@' is a parsing error
[GotToBTru]: by itself, yes, but used in sub pre(&;@) not so

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-01-18 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (164 votes). Check out past polls.