Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: or warn question

by druthb (Beadle)
on Jun 09, 2012 at 13:00 UTC ( #975299=note: print w/replies, xml ) Need Help??


in reply to or warn question

Peripherally related to this is autodie...for many I/O operations, it can replace the do_something_or_die construct. In my work, I massage a whole bunch of little files, and so autodie really saves me a ton of typing!

use Modern::Perl; use autodie; open my $fh,'>','filename.dat'; #will die() if it can't. say "Okay, the file's open, now let's do something.";

This may or may not be useful in the OPs issue, since there's apparently an FTP service going on that is black-boxy, from our perspective.

D Ruth Bavousett

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2020-11-25 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?