Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: can create with File::Temp but not unlink

by ChOas (Curate)
on Jan 19, 2001 at 17:11 UTC ( [id://52984]=note: print w/replies, xml ) Need Help??


in reply to can create with File::Temp but not unlink

Hi!

Eeeeehm.. Use 'unlink' instead of 'unlink0' ?

Ahem, my bad... didn't know much about the package ;))

How about importing unlink0 ? : use File::Temp qw(tempfile unlink0);

GreetZ!,
    ChOas

print "profeth still\n" if /bird|devil/;
  • Comment on Re: can create with File::Temp but not unlink

Replies are listed 'Best First'.
Re: (2) can create with File::Temp but not unlink (not exported)
by ybiC (Prior) on Jan 19, 2001 at 17:31 UTC
    Thanks for the quick answer, ChaOs.   8^)
    But attempting to import unlink via use vars qw(); results in the following error:   8^(

    "unlink" is not exported by File::Temp at filetemptest.pl line n
    Compilation aborted.

        cheers,
        Don
        striving for Perl Adept
        (it's pronounced "why-bick")

      Hi,

      Eeehm unlink is exported by main, I think,
      but try and import unlink0 from File::Temp
      Or try to import just everything exportable
      Without specifying the functions

      GreetZ!,
        ChOas

      print "profeth still\n" if /bird|devil/;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (11)
As of 2024-05-21 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found