Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: unlink unworking

by perlmonkey (Hermit)
on May 17, 2000 at 12:12 UTC ( [id://12050]=note: print w/replies, xml ) Need Help??


in reply to unlink unworking

I am pretty sure chromatic is correct with the concantenation thing. That and random was not defined for me.
#!/usr/bin/perl -w use strict; my $tempDir = '/home/pencilneckgeek/tmp/' + rand(10000); print $tempDir, "\n";
Results:
Argument "/home/pencilneckgeek/tmp/" isn't numeric in add at - line 2.
2723.31736981869
Where the big number is supposed to be $tempDir, which is obviously not what you wanted.

Log In?
Username:
Password:

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

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

    No recent polls found