Howdy monks!
I'm trying to pull out a value from this Dumper and I am able to almost grab all of it except for one bit (as you can guess it's a really long dump so I am trying to only put the relevant part in).
I am able to successfully pull out the 'image/jpeg' portion by this .....
$query->{'.tmpfiles'}->{$file_uploaded}->{'info'}->{'Content-Type'}
What I want is the "/usr/tmp/CGItemp12261" nugget. I can only get as far as..
$query->{'.tmpfiles'}->{$file_uploaded}->{'info'}->{'name'}
and I get totally perplexed.
Does anyone know how to get at this? Thank you so much in advance. (Clarification: For the curious: that location is a temp location for an uploaded file that I need to check).
$VAR1 = bless( { '.charset' => 'ISO-8859-1', '.tmpfiles' => { '*Fh::fh00001testforme.jpg' => { 'name' => bless( do{\(my $o = '/usr/tmp/CGItemp12261')}, ' +CGITempFile' ), 'hndl' => bless( \*{'Fh::fh00001testforme.jpg'}, 'Fh' ), 'info' => { 'Content-Type' => 'image/jpeg', 'Content-Disposition' => 'form-data; name="FileFT1"; f +ilename="testforme.jpg"' } } },
In reply to How do I get this reference? by sherab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |