Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: use of uninitialised value

by ysth (Canon)
on Mar 07, 2005 at 23:46 UTC ( [id://437350]=note: print w/replies, xml ) Need Help??


in reply to Re: use of uninitialised value
in thread use of uninitialised value

That would need to be:
-d $upload_dir or die "$upload_dir: $!"; -f "$upload_dir/$filename" or die "$upload_dir/$filename: $!";

Replies are listed 'Best First'.
Re^3: use of uninitialised value
by sh1tn (Priest) on Mar 08, 2005 at 07:38 UTC
    Thank you. My error comes from the lack of fully written sample:
    my $filename = "$upload_dir/$filename"; -d $upload_dir or die "$upload_dir: $!"; -f $filename or die "$filename: $!"; # I'm not in the secret why those endless absolute # filepaths are scattered almost always


Log In?
Username:
Password:

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

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

    No recent polls found