Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: adding a variable definition to execution

by akho (Hermit)
on May 21, 2009 at 23:49 UTC ( #765570=note: print w/replies, xml ) Need Help??


in reply to Re: adding a variable definition to execution
in thread adding a variable definition to execution

You actually have to replace <STDIN> with a file handle, not a filename.

I believe the original poster replaced the input with a hard-coded value; that is, wrote $basename = 'filename'. A filehandle would be an error, probably.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://765570]
help
Chatterbox?
choroba vaguely remembers seeing pairsite as a result of searching for something, but he doesn't remember what engine or site used it.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-09-26 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (293 votes). Check out past polls.

    Notices?