Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: rename file

by perlfan (Vicar)
on Aug 24, 2020 at 19:35 UTC ( #11121055=note: print w/replies, xml ) Need Help??


in reply to Re^2: rename file
in thread rename file

Thanks, fixed. Oversight.

Replies are listed 'Best First'.
Re^4: rename file
by marto (Cardinal) on Sep 03, 2020 at 08:16 UTC

    You can't have run the code you posted:

    perl -c xx.pl [Thu Sep 3 09:15:03 2020] xx.pl: String found where operator expected + at xx.pl line 16, near "$fileto" ) or die "" [Thu Sep 3 09:15:03 2020] xx.pl: (Missing operator before " ) or +die "?) [Thu Sep 3 09:15:03 2020] xx.pl: Scalar found where operator expected + at xx.pl line 16, near "" ) or die "$!" [Thu Sep 3 09:15:03 2020] xx.pl: (Missing operator before $!?) [Thu Sep 3 09:15:03 2020] xx.pl: String found where operator expected + at xx.pl line 16, at end of line [Thu Sep 3 09:15:03 2020] xx.pl: (Missing semicolon on previous l +ine?) Status: 500 Content-type: text/html <h1>Software error:</h1> <pre>syntax error at xx.pl line 16, near &quot;$fileto&quot; ) or die +&quot;&quot; Can't find string terminator '&quot;' anywhere before EOF at xx.pl lin +e 16. </pre> <p> For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. </p> [Thu Sep 3 09:15:03 2020] xx.pl: syntax error at xx.pl line 16, near +"$fileto" ) or die "" [Thu Sep 3 09:15:03 2020] xx.pl: Can't find string terminator '"' any +where before EOF at xx.pl line 16.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2020-11-29 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?