Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
Corion is mildly surprised as some different toy projects coagulate into a useful application. I've been toying with writing a Meetup wrapper and also have been toying with synchronizing events between (CalDAV) calendars, and now that means I can ...
[Corion]: ... easily* synchronize my personal calendar with Meetup and import stuff from Meetup there
[Corion]: * Code not yet written, some restrictions may apply

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-02-23 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (343 votes). Check out past polls.