Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: (2) can create with File::Temp but not unlink (not exported)

by ybiC (Prior)
on Jan 19, 2001 at 17:31 UTC ( [id://52987]=note: print w/replies, xml ) Need Help??


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

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")

  • Comment on Re: (2) can create with File::Temp but not unlink (not exported)

Replies are listed 'Best First'.
Re: Re: (2) can create with File::Temp but not unlink (not exported)
by ChOas (Curate) on Jan 19, 2001 at 17:34 UTC
    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://52987]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found