Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.

by fisher (Priest)
on Dec 15, 2010 at 10:31 UTC ( [id://877231]=note: print w/replies, xml ) Need Help??


in reply to Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.

try this:
my $file; my @files; open $file, '<', "$options{c}" or die "could not open \"$options{c +}\": $!"; @files = <$file>;
self-explanatory code, isn't it?
  • Comment on Re: Use of uninitialized value in concatenation (.) or string at perl.pl line 216, <$file> line 18.
  • Download Code

Log In?
Username:
Password:

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

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

    No recent polls found