Computer Forum  

Go Back   Computer Forum > Computer Forums > Programming Forum > Perl Forum

Perl Forum Perl Forum. Perl Programming and coding forum. Post code, questions, answers and ideas here.


How do you delete an image from a folder using Perl?

Perl Forum

Perl Forum. Perl Programming and coding forum. Post code, questions, answers and ideas here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-2008, 08:49 PM
Junior Member
 
Join Date: Feb 2008
Posts: 16
Hello RSS Feed
How do you delete an image from a folder using Perl?

This is the part of the script i use;

my $filename = $query->param("photo");
my $deletefile="$filename";
unlink ($deletefile);

I have use File::Basename; set.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make folder private on Windows XP? Jonny Chew Windows XP Forum 1 06-17-2008 02:12 PM
html scoll box with image htlm in side without the image showing up? Arron J HTML Forum 1 06-06-2008 01:24 AM
How to delete TAB key from txt file using Perl? andrew D Perl Forum 0 06-04-2008 02:50 AM
mac os9 flashing folder!!? theforeversong Mac Os9 Forum 0 05-18-2008 08:22 PM
How to delete whitespace in perl? arnab Perl Forum 0 01-11-2008 03:12 AM


All times are GMT. The time now is 04:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93