This should be a simple one




This should be an easy one for some, but I can not get it to work. I am
trying to use the move function in the File::Copy routine, and I want to
move files with a wildcard in the name. For example,


use File::Copy;

move("/home/ctantalo/test/*.htm","/home/ctantalo/test3/");

But this doesnt work. I have tried to get a regex to go in as the first
parameter, but it comes back and says
Quantifier follows nothing before HERE mark in regex m/* << HERE htm/ at
../move.pl line 6

Any suggestions?

Chris
-----------------------------------------------
Just Your Friendly Neighborhood
_SPIDEY_



-----------------------------------------
The information contained in this message may be privileged,
confidential, and protected from disclosure. If the reader of this
message is not the intended recipient, or any employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution, or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.

Thank you. Paychex, Inc.

GIF image



Relevant Pages

  • Re: change date of files in a directory
    ... value specified by the time parameter ... confidential information solely for the use of the intended recipient. ... the reader of this message is not the intended recipient, ... communication in error, please immediately notify CDS @ 248-478-7000. ...
    (AIX-L)
  • Re: tso racf
    ... distribution or other use of this communication is strictly ... privileged or confidential and is protected from disclosure. ... If the reader of this message is not the intended recipient, ...
    (bit.listserv.ibm-main)
  • Re: OT Annoying Habits
    ... product doctrine and thus protected from disclosure. ... If the reader ... distribution or copying of this communication is strictly prohibited. ...
    (comp.lang.python)
  • RE: How do you use this list ?
    ... product doctrine and thus protected from disclosure. ... distribution or copying of this communication is strictly prohibited. ...
    (comp.lang.python)
  • RE: error enabling swap space device hda3. No such file ordirectory.
    ... >>Information contained in this email message is intended only for use ... If the reader of this ... >responsible to deliver it to the intended recipient, ... >communication in error, please immediately notify the ...
    (RedHat)