Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: A conversation with a C programmer

by revdiablo (Prior)
on Mar 15, 2006 at 17:33 UTC ( [id://536889]=note: print w/replies, xml ) Need Help??


in reply to A conversation with a C programmer

Let us hope his $target directory never contains whitespace, or your replacement would fall down and go boom.

Update: Also, let us further hope his process_new_file can handle the fact that your new version is now passing the $target along with the file basename.

Replies are listed 'Best First'.
Re^2: A conversation with a C programmer
by Anonymous Monk on Mar 15, 2006 at 18:04 UTC
    Let's also hope that he's not running an old version of perl, either. On old systems, glob() (and the diamond glob operator) called the external shell program csh, which overzealous sysadmins were prone to deleting when they "upgraded" to their favourite shell.

    As I understand it, glob() still calls File::Glob; and a bug in the handling of tags is why I can't make debug mode work with the old perl5.6.1 scripts we have on our system. *sigh*. In other words, using glob() has always been a risky proposition.

    --
    Ytrew

Log In?
Username:
Password:

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

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

    No recent polls found