Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: LWP::Useragent - File Upload

by choroba (Archbishop)
on Jun 23, 2020 at 14:39 UTC ( #11118381=note: print w/replies, xml ) Need Help??


in reply to Re^4: LWP::Useragent - File Upload
in thread LWP::Useragent - File Upload

And if you switch to single quotes, you can replace the double backslashes by single ones:
my $filename = 'd:\clips\videoclip.mp4';
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^6: LWP::Useragent - File Upload
by jdporter (Canon) on Jun 24, 2020 at 14:19 UTC

    And I wonder whether backslashes are even necessary there. For most purposes (i.e. virtually everything outside of the brain-dead cmd "shells") forward slashes work just fine.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-09-21 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (125 votes). Check out past polls.

    Notices?